net.sf.jguard.jee.authentication.schemes
Class HttpServletJcaptchaAuthenticationSchemeHandler
java.lang.Object
net.sf.jguard.core.authentication.schemes.FORMSchemeHandler<Req,Res>
net.sf.jguard.ext.authentication.schemes.JCaptchaAuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
net.sf.jguard.jee.authentication.schemes.HttpServletJcaptchaAuthenticationSchemeHandler
- All Implemented Interfaces:
- AuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>, StatefulAuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
public class HttpServletJcaptchaAuthenticationSchemeHandler
- extends JCaptchaAuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
- Author:
- Charles Gay
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServletJcaptchaAuthenticationSchemeHandler
public HttpServletJcaptchaAuthenticationSchemeHandler(Map<String,String> parameters,
StatefulScopes authenticationBindings)
getLogonProcessPermission
protected Permission getLogonProcessPermission()
- Specified by:
getLogonProcessPermission in class FORMSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
- Returns:
- Permission bound to the FORM target.
getLogoffPermission
public Permission getLogoffPermission()
- Specified by:
getLogoffPermission in interface StatefulAuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>- Specified by:
getLogoffPermission in class FORMSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
getLogonPermission
public Permission getLogonPermission()
- Specified by:
getLogonPermission in class FORMSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
getPermissionFactory
protected PermissionFactory<javax.servlet.http.HttpServletRequest> getPermissionFactory()
- return the PermissionFactory.
- Specified by:
getPermissionFactory in class FORMSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
- Returns:
buildChallenge
public void buildChallenge(Request<javax.servlet.http.HttpServletRequest> request,
Response<javax.servlet.http.HttpServletResponse> response)
- create a challenge in the underlying technology way.
- Specified by:
buildChallenge in interface AuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>- Specified by:
buildChallenge in class JCaptchaAuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
- Throws:
AuthenticationException
getCaptchaAnswer
protected String getCaptchaAnswer(Request<javax.servlet.http.HttpServletRequest> request,
Response<javax.servlet.http.HttpServletResponse> response)
- Specified by:
getCaptchaAnswer in class JCaptchaAuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
getSessionID
protected String getSessionID(Request<javax.servlet.http.HttpServletRequest> request)
- Specified by:
getSessionID in class JCaptchaAuthenticationSchemeHandler<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
Copyright © 2004-2011. All Rights Reserved.