Brooklyn

brooklyn.rest.security
[Java] Class BrooklynPropertiesSecurityFilter

java.lang.Object
  brooklyn.rest.security.BrooklynPropertiesSecurityFilter
All Implemented Interfaces:
javax.servlet.Filter

public class BrooklynPropertiesSecurityFilter

Field Summary
static java.lang.String AUTHENTICATED_USER_SESSION_ATTRIBUTE

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)

protected ManagementContext mgmt

protected DelegatingSecurityProvider provider

 
Method Summary
protected boolean authenticate(javax.servlet.http.HttpServletRequest request)

void destroy()

void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)

protected boolean handleLogout(javax.servlet.http.HttpServletRequest request)

void init(javax.servlet.FilterConfig config)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

AUTHENTICATED_USER_SESSION_ATTRIBUTE

public static final java.lang.String AUTHENTICATED_USER_SESSION_ATTRIBUTE
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)


mgmt

protected ManagementContext mgmt


provider

protected DelegatingSecurityProvider provider


 
Method Detail

authenticate

protected boolean authenticate(javax.servlet.http.HttpServletRequest request)


destroy

@Override
public void destroy()


doFilter

@Override
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)


handleLogout

protected boolean handleLogout(javax.servlet.http.HttpServletRequest request)


init

@Override
public void init(javax.servlet.FilterConfig config)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.