info.magnolia.cms.security.auth.login
Class LoginFilter

java.lang.Object
  extended by info.magnolia.cms.filters.AbstractMgnlFilter
      extended by info.magnolia.cms.security.auth.login.LoginFilter
All Implemented Interfaces:
MgnlFilter, javax.servlet.Filter

public class LoginFilter
extends AbstractMgnlFilter

Performs a login operation. Calls all login handlers until one can handle the request. $Id: LoginFilter.java 43915 2011-04-11 14:14:21Z tmattsson $


Constructor Summary
LoginFilter()
           
 
Method Summary
 void addLoginHandlers(LoginHandler handler)
           
 void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
           
 Collection<LoginHandler> getLoginHandlers()
           
 void setLoginHandlers(Collection<LoginHandler> loginHandlers)
           
 
Methods inherited from class info.magnolia.cms.filters.AbstractMgnlFilter
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, init, isEnabled, mapsTo, matches, matchesDispatching, setDispatching, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginFilter

public LoginFilter()
Method Detail

doFilter

public void doFilter(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in class AbstractMgnlFilter
Throws:
IOException
javax.servlet.ServletException

getLoginHandlers

public Collection<LoginHandler> getLoginHandlers()

setLoginHandlers

public void setLoginHandlers(Collection<LoginHandler> loginHandlers)

addLoginHandlers

public void addLoginHandlers(LoginHandler handler)


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.