com.atlassian.seraph.filter
Class SecurityFilter
java.lang.Object
com.atlassian.seraph.filter.SecurityFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class SecurityFilter
- extends Object
- implements javax.servlet.Filter
The SecurityFilter determines which roles are required for a given request by querying all of the Services.
- See Also:
SecurityService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORIGINAL_URL
public static final String ORIGINAL_URL
- See Also:
- Constant Field Values
SecurityFilter
public SecurityFilter()
init
public void init(javax.servlet.FilterConfig config)
- Specified by:
init
in interface javax.servlet.Filter
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
doFilter
public void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
getSecurityConfig
protected SecurityConfig getSecurityConfig()
getAuthenticationContext
protected AuthenticationContext getAuthenticationContext()
Copyright © 2013 Atlassian. All Rights Reserved.