public class

SecurityContextHolderAwareRequestFilter

extends GenericFilterBean
java.lang.Object
   ↳ org.springframework.web.filter.GenericFilterBean
     ↳ org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter

Class Overview

A Filter which populates the ServletRequest with a request wrapper which implements the servlet API security methods.

The wrapper class used is SecurityContextHolderAwareRequestWrapper.

Summary

[Expand]
Inherited Fields
From class org.springframework.web.filter.GenericFilterBean
Public Constructors
SecurityContextHolderAwareRequestFilter()
Public Methods
void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
void setRolePrefix(String rolePrefix)
[Expand]
Inherited Methods
From class org.springframework.web.filter.GenericFilterBean
From class java.lang.Object
From interface javax.servlet.Filter
From interface org.springframework.beans.factory.BeanNameAware
From interface org.springframework.beans.factory.DisposableBean
From interface org.springframework.beans.factory.InitializingBean
From interface org.springframework.web.context.ServletContextAware

Public Constructors

public SecurityContextHolderAwareRequestFilter ()

Public Methods

public void doFilter (ServletRequest req, ServletResponse res, FilterChain chain)

Throws
IOException
ServletException

public void setRolePrefix (String rolePrefix)