|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jguard.core.authentication.schemes.HookFormSchemeHandler
public class HookFormSchemeHandler
permits to set Login and password directly. It follows the architecture design, but permits to hook it.
| Constructor Summary | |
|---|---|
HookFormSchemeHandler(java.util.Map<java.lang.String,java.lang.String> parameters,
AuthenticationBindingsFactory factory)
|
|
| Method Summary | |
|---|---|
boolean |
answerToChallenge(AccessContext context)
evaluate if the user tries to answer to the challenge. |
void |
authenticationFailed(AccessContext context)
translate in the underlying technology the authentication failure. |
void |
authenticationSucceed(AccessContext context)
translate in the underlying technology the authentication success. |
void |
buildChallenge(AccessContext context)
create a challenge in the underlying technology way. |
java.util.Collection<java.lang.Class> |
getCallbackTypes()
return Callbacks classes needed by LoginModules to authenticate the client. |
java.security.PermissionCollection |
getGrantedPermissions()
|
java.lang.String |
getName()
unique name of the Authentication Scheme. |
void |
handleSchemeCallbacks(AccessContext context,
java.util.List<javax.security.auth.callback.Callback> cbks)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HookFormSchemeHandler(java.util.Map<java.lang.String,java.lang.String> parameters,
AuthenticationBindingsFactory factory)
| Method Detail |
|---|
public java.lang.String getName()
AuthenticationSchemeHandler
getName in interface AuthenticationSchemeHandler
public void buildChallenge(AccessContext context)
throws AuthenticationException
AuthenticationSchemeHandler
buildChallenge in interface AuthenticationSchemeHandlerAuthenticationException
public void authenticationSucceed(AccessContext context)
throws AuthenticationException
AuthenticationSchemeHandler
authenticationSucceed in interface AuthenticationSchemeHandlerAuthenticationException
public void authenticationFailed(AccessContext context)
throws AuthenticationException
AuthenticationSchemeHandler
authenticationFailed in interface AuthenticationSchemeHandlerAuthenticationExceptionpublic java.util.Collection<java.lang.Class> getCallbackTypes()
AuthenticationSchemeHandler
getCallbackTypes in interface AuthenticationSchemeHandlerpublic java.security.PermissionCollection getGrantedPermissions()
getGrantedPermissions in interface AuthenticationSchemeHandlerpublic boolean answerToChallenge(AccessContext context)
AuthenticationSchemeHandler
answerToChallenge in interface AuthenticationSchemeHandler
public void handleSchemeCallbacks(AccessContext context,
java.util.List<javax.security.auth.callback.Callback> cbks)
throws javax.security.auth.callback.UnsupportedCallbackException
handleSchemeCallbacks in interface AuthenticationSchemeHandlerjavax.security.auth.callback.UnsupportedCallbackException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||