| java.lang.Object winstone.auth.BaseAuthenticationHandler winstone.auth.FormAuthenticationHandler
FormAuthenticationHandler | public class FormAuthenticationHandler extends BaseAuthenticationHandler (Code) | | Handles FORM based authentication configurations. Fairly simple ... it just
redirects any unauthorized requests to the login page, and any bad logins to
the error page. The auth values are stored in the session in a special slot.
author: Rick Knowles version: $Id: FormAuthenticationHandler.java,v 1.7 2006/12/13 14:07:43 rickknowles Exp $ |
FormAuthenticationHandler | public FormAuthenticationHandler(Node loginConfigNode, List constraintNodes, Set rolesAllowed, AuthenticationRealm realm)(Code) | | Constructor for the FORM authenticator
Parameters: realm - The realm against which we are authenticating Parameters: constraints - The array of security constraints that might apply Parameters: resources - The list of resource strings for messages Parameters: realmName - The name of the realm this handler claims |
processAuthentication | public boolean processAuthentication(ServletRequest request, ServletResponse response, String pathRequested) throws IOException, ServletException(Code) | | Evaluates any authentication constraints, intercepting if auth is
required. The relevant authentication handler subclass's logic is used to
actually authenticate.
A boolean indicating whether to continue after this request |
Methods inherited from winstone.auth.BaseAuthenticationHandler | protected boolean doRoleCheck(HttpServletRequest request, HttpServletResponse response, String pathRequested) throws IOException, ServletException(Code)(Java Doc) public boolean processAuthentication(ServletRequest inRequest, ServletResponse inResponse, String pathRequested) throws IOException, ServletException(Code)(Java Doc) abstract protected void requestAuthentication(HttpServletRequest request, HttpServletResponse response, String pathRequested) throws IOException, ServletException(Code)(Java Doc) protected void setNoCache(HttpServletResponse response)(Code)(Java Doc) abstract protected boolean validatePossibleAuthenticationResponse(HttpServletRequest request, HttpServletResponse response, String pathRequested) throws ServletException, IOException(Code)(Java Doc)
|
|
|