|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.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 AccessPoemExceptions. |
| 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
AccessPoemExceptions.
handleAccessException in interface AccessHandlermelati - current MelatiaccessException - the AccessException
ExceptionAccessHandler.handleAccessException(org.melati.Melati, org.melati.poem.AccessPoemException)public Melati establishUser(Melati melati)
establishUser in interface AccessHandlerMelati with the appropriate fields filled.AccessHandler.establishUser(org.melati.Melati)
public void buildRequest(Melati melati)
throws MelatiException,
IOException
buildRequest in interface AccessHandlermelati - used to hold original request
MelatiException
IOExceptionAccessHandler.buildRequest(org.melati.Melati)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||