|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.authentication.standard.AuthenticatorAbstract
org.nakedobjects.runtime.authentication.standard.singleuser.SingleUserAuthenticator
public class SingleUserAuthenticator
Creates a session suitable for single-user
mode.
| Constructor Summary | |
|---|---|
SingleUserAuthenticator(NakedObjectConfiguration configuration)
|
|
| Method Summary | |
|---|---|
AuthenticationSession |
authenticate(AuthenticationRequest request,
java.lang.String code)
Default implementation returns a SimpleSession;
can be overridden if required. |
boolean |
canAuthenticate(AuthenticationRequest request)
Can authenticate if a AuthenticationRequestExploration. |
boolean |
isValid(AuthenticationRequest request)
Valid providing running in exploration mode. |
| Methods inherited from class org.nakedobjects.runtime.authentication.standard.AuthenticatorAbstract |
|---|
getConfiguration, getDeploymentType, init, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleUserAuthenticator(NakedObjectConfiguration configuration)
| Method Detail |
|---|
public final boolean canAuthenticate(AuthenticationRequest request)
AuthenticationRequestExploration.
public final boolean isValid(AuthenticationRequest request)
exploration mode.
public AuthenticationSession authenticate(AuthenticationRequest request,
java.lang.String code)
AuthenticatorAbstractSimpleSession;
can be overridden if required.
authenticate in interface Authenticatorauthenticate in class AuthenticatorAbstractcode - - a hint; is guaranteed to be unique, but the authenticator decides whether to use it or not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||