public class ClientCertLogin extends AbstractLogin
_auth, _singleSignon
LOGIN_PASSWORD, LOGIN_USER, LOGIN_USER_NAME
Constructor and Description |
---|
ClientCertLogin() |
Modifier and Type | Method and Description |
---|---|
java.security.Principal |
authenticate(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Logs a user in with a user name and a password.
|
java.lang.String |
getAuthType()
Returns the authentication type.
|
java.security.Principal |
getUserPrincipal(HttpServletRequest request)
Returns the Principal associated with the current request.
|
java.security.Principal |
getUserPrincipal(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Returns the current user with the user name and password.
|
findSavedUser, getAuthenticator, getLoginPrincipalImpl, getSingleSignon, getUserPrincipalImpl, init, isLoginUsedForRequest, isLogoutOnSessionTimeout, isPasswordBased, isSavedUserValid, isSessionSaveLogin, isUserInRole, login, login, loginChallenge, loginSuccessResponse, logout, logoutImpl, saveUser, sessionInvalidate, setAuthenticator, setLogoutOnSessionTimeout, setSessionSaveLogin, toString
public java.lang.String getAuthType()
getAuthType
in interface Login
getAuthType
in class AbstractLogin
public java.security.Principal authenticate(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException, java.io.IOException
request
- servlet requestresponse
- servlet response, in case any cookie need sending.application
- servlet applicationServletException
java.io.IOException
public java.security.Principal getUserPrincipal(HttpServletRequest request)
AbstractLogin
getUserPrincipal
in interface Login
getUserPrincipal
in class AbstractLogin
request
- servlet requestpublic java.security.Principal getUserPrincipal(HttpServletRequest request, HttpServletResponse response, ServletContext application)
request
- servlet requestresponse
- servlet response, in case any cookie need sending.application
- servlet application