public class BrooklynPropertiesSecurityFilter
extends java.lang.Object
implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHENTICATED_USER_SESSION_ATTRIBUTE
The session attribute set for authenticated users; for reference
(but should not be relied up to confirm authentication, as
the providers may impose additional criteria such as timeouts,
or a null user (no login) may be permitted)
|
static java.lang.String |
REMOTE_ADDRESS_SESSION_ATTRIBUTE
The session attribute set to indicate the remote address of the HTTP request.
|
Constructor and Description |
---|
BrooklynPropertiesSecurityFilter() |
public static final java.lang.String AUTHENTICATED_USER_SESSION_ATTRIBUTE
public static final java.lang.String REMOTE_ADDRESS_SESSION_ATTRIBUTE
ServletRequest.getRemoteAddr()
.public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
java.io.IOException
javax.servlet.ServletException
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter