butler.ext.authentication
Class LoginFilter
java.lang.Object
butler.ext.authentication.LoginFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class LoginFilter
- extends java.lang.Object
- implements javax.servlet.Filter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginFilter
public LoginFilter()
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
getAuthenticator
protected Authenticator getAuthenticator()
throws java.lang.Exception
- Throws:
java.lang.Exception
getNewUserForm
protected DDetailForm getNewUserForm()
throws java.lang.Exception
- Throws:
java.lang.Exception
getTitle
protected java.lang.String getTitle(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUserTable
protected Table getUserTable()
throws java.lang.Exception
- Throws:
java.lang.Exception
getEmailColumn
protected Column getEmailColumn()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPasswordColumn
protected Column getPasswordColumn()
throws java.lang.Exception
- Throws:
java.lang.Exception
getSmtpHost
protected java.lang.String getSmtpHost()
throws java.lang.Exception
- Throws:
java.lang.Exception
getFromEmail
protected java.lang.String getFromEmail()
throws java.lang.Exception
- Throws:
java.lang.Exception
isPublic
protected boolean isPublic(javax.servlet.http.HttpServletRequest request)
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
getLoginPage
public org.apache.ecs.html.Html getLoginPage(java.lang.Exception loginException,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
doLogin
public void doLogin(javax.servlet.ServletRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter