winstone.auth
Class ClientcertAuthenticationHandler

java.lang.Object
  extended by winstone.auth.BaseAuthenticationHandler
      extended by winstone.auth.ClientcertAuthenticationHandler
All Implemented Interfaces:
AuthenticationHandler

public class ClientcertAuthenticationHandler
extends BaseAuthenticationHandler

Version:
$Id: ClientcertAuthenticationHandler.java,v 1.3 2006/02/28 07:32:47 rickknowles Exp $
Author:
Rick Knowles

Field Summary
 
Fields inherited from class winstone.auth.BaseAuthenticationHandler
AUTH_RESOURCES, constraints, realm, realmName
 
Constructor Summary
ClientcertAuthenticationHandler(org.w3c.dom.Node loginConfigNode, java.util.List constraintNodes, java.util.Set rolesAllowed, AuthenticationRealm realm)
           
 
Method Summary
protected  void requestAuthentication(HttpServletRequest request, HttpServletResponse response, java.lang.String pathRequested)
          Call this once we know that we need to authenticate
protected  boolean validatePossibleAuthenticationResponse(HttpServletRequest request, HttpServletResponse response, java.lang.String pathRequested)
          Handling the (possible) response
 
Methods inherited from class winstone.auth.BaseAuthenticationHandler
doRoleCheck, processAuthentication, setNoCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientcertAuthenticationHandler

public ClientcertAuthenticationHandler(org.w3c.dom.Node loginConfigNode,
                                       java.util.List constraintNodes,
                                       java.util.Set rolesAllowed,
                                       AuthenticationRealm realm)
Method Detail

requestAuthentication

protected void requestAuthentication(HttpServletRequest request,
                                     HttpServletResponse response,
                                     java.lang.String pathRequested)
                              throws java.io.IOException
Call this once we know that we need to authenticate

Specified by:
requestAuthentication in class BaseAuthenticationHandler
Throws:
java.io.IOException

validatePossibleAuthenticationResponse

protected boolean validatePossibleAuthenticationResponse(HttpServletRequest request,
                                                         HttpServletResponse response,
                                                         java.lang.String pathRequested)
                                                  throws java.io.IOException
Handling the (possible) response

Specified by:
validatePossibleAuthenticationResponse in class BaseAuthenticationHandler
Throws:
java.io.IOException


Copyright © 2013. All Rights Reserved.