org.broadleafcommerce.profile.web.security
Class CustomerStateFilter

java.lang.Object
  extended by org.springframework.security.ui.SpringSecurityFilter
      extended by org.broadleafcommerce.profile.web.security.CustomerStateFilter
All Implemented Interfaces:
javax.servlet.Filter, org.springframework.context.ApplicationEventPublisherAware, org.springframework.core.Ordered

@Component(value="blCustomerStateFilter")
public class CustomerStateFilter
extends org.springframework.security.ui.SpringSecurityFilter
implements org.springframework.context.ApplicationEventPublisherAware


Field Summary
protected  CustomerService customerService
           
protected  org.apache.commons.logging.Log logger
          Logger for this class and subclasses
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
CustomerStateFilter()
           
 
Method Summary
protected  void doFilterHttp(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
           
static java.lang.String getCustomerRequestAttributeName()
           
 int getOrder()
           
 void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher eventPublisher)
           
static void setCustomerRequestAttributeName(java.lang.String customerRequestAttributeName)
           
 
Methods inherited from class org.springframework.security.ui.SpringSecurityFilter
destroy, doFilter, init, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Logger for this class and subclasses


customerService

protected CustomerService customerService
Constructor Detail

CustomerStateFilter

public CustomerStateFilter()
Method Detail

doFilterHttp

protected void doFilterHttp(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            javax.servlet.FilterChain chain)
                     throws java.io.IOException,
                            javax.servlet.ServletException
Specified by:
doFilterHttp in class org.springframework.security.ui.SpringSecurityFilter
Throws:
java.io.IOException
javax.servlet.ServletException

getOrder

public int getOrder()
Specified by:
getOrder in interface org.springframework.core.Ordered

setApplicationEventPublisher

public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher eventPublisher)
Specified by:
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware

getCustomerRequestAttributeName

public static java.lang.String getCustomerRequestAttributeName()

setCustomerRequestAttributeName

public static void setCustomerRequestAttributeName(java.lang.String customerRequestAttributeName)


Copyright © 2010. All Rights Reserved.