|
||||||||||
| 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.PasswordRequestAuthenticatorAbstract
org.nakedobjects.remoting.client.authentication.ProxyAuthenticator
public final class ProxyAuthenticator
| Constructor Summary | |
|---|---|
ProxyAuthenticator(NakedObjectConfiguration configuration,
ServerFacade serverFacade,
ObjectEncoderDecoder encoderDecoder)
|
|
| Method Summary | |
|---|---|
AuthenticationSession |
authenticate(AuthenticationRequest authRequest,
java.lang.String code)
Delegates to the provided ServerFacade to ServerFacade#authenticate(String). |
boolean |
isValid(AuthenticationRequest request)
Whereas the default implementation of AuthenticatorAbstract.authenticate(AuthenticationRequest, String)
delegates to this method, this implementation has it the other way around. |
| Methods inherited from class org.nakedobjects.runtime.authentication.standard.PasswordRequestAuthenticatorAbstract |
|---|
canAuthenticate |
| 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 ProxyAuthenticator(NakedObjectConfiguration configuration,
ServerFacade serverFacade,
ObjectEncoderDecoder encoderDecoder)
| Method Detail |
|---|
public boolean isValid(AuthenticationRequest request)
AuthenticatorAbstract.authenticate(AuthenticationRequest, String)
delegates to this method, this implementation has it the other way around.
public AuthenticationSession authenticate(AuthenticationRequest authRequest,
java.lang.String code)
ServerFacade to ServerFacade#authenticate(String).
Compare to the default implementation
which calls isValid(AuthenticationRequest) and then returns
a SimpleSession.
authenticate in interface Authenticatorauthenticate in class AuthenticatorAbstract
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||