public abstract class AbstractLogin extends AbstractLogin
AbstractLogin_auth, _singleSignonLOGIN_PASSWORD, LOGIN_USER, LOGIN_USER_NAME| Constructor and Description | 
|---|
| AbstractLogin()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| protected java.security.Principal | authenticate(HttpServletRequest request,
            HttpServletResponse response,
            ServletContext app)Deprecated.  | 
| protected java.security.Principal | getUserPrincipal(HttpServletRequest request,
                HttpServletResponse response,
                ServletContext app)Deprecated.  | 
| java.security.Principal | getUserPrincipalImpl(HttpServletRequest request)Deprecated.  Authentication | 
| protected boolean | isUserInRole(HttpServletRequest request,
            HttpServletResponse response,
            ServletContext app,
            java.security.Principal user,
            java.lang.String role)Deprecated.  | 
| boolean | isUserInRole(java.security.Principal user,
            java.lang.String role)Deprecated.  Returns true if the current user plays the named role. | 
| java.security.Principal | login(HttpServletRequest request,
     HttpServletResponse response,
     boolean isFail)Deprecated.  Authentication | 
findSavedUser, getAuthenticator, getAuthType, getLoginPrincipalImpl, getSingleSignon, getUserPrincipal, init, isLoginUsedForRequest, isLogoutOnSessionTimeout, isPasswordBased, isSavedUserValid, isSessionSaveLogin, login, loginChallenge, loginSuccessResponse, logout, logoutImpl, saveUser, sessionInvalidate, setAuthenticator, setLogoutOnSessionTimeout, setSessionSaveLogin, toStringpublic java.security.Principal getUserPrincipalImpl(HttpServletRequest request)
getUserPrincipalImpl in class AbstractLoginprotected java.security.Principal getUserPrincipal(HttpServletRequest request, HttpServletResponse response, ServletContext app)
public java.security.Principal login(HttpServletRequest request, HttpServletResponse response, boolean isFail)
login in interface Loginlogin in class AbstractLoginrequest - servlet requestresponse - servlet response for a failed authentication.isFail - if true send a challenge (Form|HTTP Basic,etc.)protected java.security.Principal authenticate(HttpServletRequest request, HttpServletResponse response, ServletContext app) throws ServletException, java.io.IOException
ServletExceptionjava.io.IOExceptionpublic boolean isUserInRole(java.security.Principal user,
                            java.lang.String role)
isUserInRole is called in response to the
 HttpServletRequest.isUserInRole call.isUserInRole in interface LoginisUserInRole in class AbstractLoginuser - the logged in userrole - the role to checkprotected boolean isUserInRole(HttpServletRequest request, HttpServletResponse response, ServletContext app, java.security.Principal user, java.lang.String role)