| java.lang.Object com.caucho.server.security.AbstractLogin com.caucho.server.security.FormLogin
FormLogin | public class FormLogin extends AbstractLogin (Code) | | Used to authenticate users in a servlet request. Applications will
implement the Authenticator interface with a bean for authentication.
since: Resin 2.0.2 |
LOGIN_SAVED_PATH | final public static String LOGIN_SAVED_PATH(Code) | | |
LOGIN_SAVED_QUERY | final public static String LOGIN_SAVED_QUERY(Code) | | |
_formURIPriority | protected boolean _formURIPriority(Code) | | |
_internalForward | protected boolean _internalForward(Code) | | |
getAuthType | public String getAuthType()(Code) | | Returns the authentication type.
|
getFormErrorPage | public String getFormErrorPage()(Code) | | Gets the error page.
|
getFormLoginPage | public String getFormLoginPage()(Code) | | Gets the login page.
|
getFormURIPriority | public boolean getFormURIPriority()(Code) | | Returns true if the form's j_uri has priority over the saved
URL.
|
getInternalForward | public boolean getInternalForward()(Code) | | Returns true if a successful login allows an internal forward
instead of a redirect.
|
setErrorPage | public void setErrorPage(String errorPage)(Code) | | |
setFormErrorPage | public void setFormErrorPage(String formErrorPage) throws ConfigException(Code) | | Sets the error page.
|
setFormLoginPage | public void setFormLoginPage(String formLoginPage) throws ConfigException(Code) | | Sets the login page.
|
setFormURIPriority | public void setFormURIPriority(boolean formPriority)(Code) | | True if the form's j_uri has priority over the saved URL.
|
setInternalForward | public void setInternalForward(boolean internalForward)(Code) | | Set true if a successful login allows an internal forward
instead of a redirect.
|
setLoginPage | public void setLoginPage(String loginPage)(Code) | | |
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)
|
|
|