| java.lang.Object com.caucho.server.security.AbstractLogin com.caucho.server.security.ClientCertLogin
ClientCertLogin | public class ClientCertLogin extends AbstractLogin (Code) | | Implements the "CLIENT-CERT" auth-method. CLIENT-CERT uses the
SSL authentication with WWW-Authenticate and SC_UNAUTHORIZE.
|
authenticate | public Principal authenticate(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException, IOException(Code) | | Logs a user in with a user name and a password. Basic authentication
extracts the user and password from the authorization header. If
the user/password is missing, authenticate will send a basic challenge.
Parameters: request - servlet request Parameters: response - servlet response, in case any cookie need sending. Parameters: application - servlet application the logged in principal on success, null on failure. |
getAuthType | public String getAuthType()(Code) | | Returns the authentication type.
|
getUserPrincipal | public Principal getUserPrincipal(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException(Code) | | Returns the current user with the user name and password.
Parameters: request - servlet request Parameters: response - servlet response, in case any cookie need sending. Parameters: application - servlet application the logged in principal on success, null on failure. |
Methods inherited from com.caucho.server.security.AbstractLogin | public Principal authenticate(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException, IOException(Code)(Java Doc) public String getAuthType()(Code)(Java Doc) public ServletAuthenticator getAuthenticator()(Code)(Java Doc) public Principal getUserPrincipal(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException(Code)(Java Doc) public void init() throws ServletException(Code)(Java Doc) public boolean isUserInRole(HttpServletRequest request, HttpServletResponse response, ServletContext application, Principal user, String role) throws ServletException(Code)(Java Doc) public void logout(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException(Code)(Java Doc) public void setAuthenticator(ServletAuthenticator auth)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|