|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.authentication.standard.AuthenticatorAbstract
public abstract class AuthenticatorAbstract
| Constructor Summary | |
|---|---|
AuthenticatorAbstract(NakedObjectConfiguration configuration)
|
|
| Method Summary | |
|---|---|
AuthenticationSession |
authenticate(AuthenticationRequest request,
java.lang.String code)
Default implementation returns a SimpleSession;
can be overridden if required. |
NakedObjectConfiguration |
getConfiguration()
|
protected DeploymentType |
getDeploymentType()
Helper method for convenience of implementations that depend on the DeploymentType. |
void |
init()
|
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nakedobjects.runtime.authentication.standard.Authenticator |
|---|
canAuthenticate, isValid |
| Constructor Detail |
|---|
public AuthenticatorAbstract(NakedObjectConfiguration configuration)
| Method Detail |
|---|
public void init()
init in interface ApplicationScopedComponentpublic void shutdown()
shutdown in interface ApplicationScopedComponent
public AuthenticationSession authenticate(AuthenticationRequest request,
java.lang.String code)
SimpleSession;
can be overridden if required.
authenticate in interface Authenticatorcode - - a hint; is guaranteed to be unique, but the authenticator decides whether to use it or not.
protected DeploymentType getDeploymentType()
DeploymentType.
public NakedObjectConfiguration getConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||