|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.login.OpenAccessHandler
public class OpenAccessHandler
Allow any user access to the database. Typically used in a Melati application rather than a servlet environment.
Constructor Summary | |
---|---|
OpenAccessHandler()
Constructor. |
Method Summary | |
---|---|
void |
buildRequest(Melati melati)
Nothing to do. |
Melati |
establishUser(Melati melati)
Set to guest if not set, remains null if we have no database. |
void |
handleAccessException(Melati melati,
AccessPoemException accessException)
Ignore AccessPoemException s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenAccessHandler()
Method Detail |
---|
public void handleAccessException(Melati melati, AccessPoemException accessException) throws Exception
AccessPoemException
s.
handleAccessException
in interface AccessHandler
melati
- current MelatiaccessException
- the AccessException
Exception
AccessHandler.handleAccessException(org.melati.Melati, org.melati.poem.AccessPoemException)
public Melati establishUser(Melati melati)
establishUser
in interface AccessHandler
Melati
with the appropriate fields filled.AccessHandler.establishUser(org.melati.Melati)
public void buildRequest(Melati melati) throws MelatiException, IOException
buildRequest
in interface AccessHandler
melati
- used to hold original request
MelatiException
IOException
AccessHandler.buildRequest(org.melati.Melati)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |