Brooklyn

brooklyn.rest.security.provider
[Java] Class ExplicitUsersSecurityProvider

java.lang.Object
  brooklyn.rest.security.provider.ExplicitUsersSecurityProvider
All Implemented Interfaces:
SecurityProvider

public class ExplicitUsersSecurityProvider

Field Summary
static java.lang.String AUTHENTICATION_KEY

static Logger LOG

protected ManagementContext mgmt

 
Constructor Summary
ExplicitUsersSecurityProvider(ManagementContext mgmt)

 
Method Summary
boolean authenticate(javax.servlet.http.HttpSession session, java.lang.String user, java.lang.String password)

boolean isAuthenticated(javax.servlet.http.HttpSession session)

boolean logout(javax.servlet.http.HttpSession session)

 
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

AUTHENTICATION_KEY

public static final java.lang.String AUTHENTICATION_KEY


LOG

public static final Logger LOG


mgmt

protected final ManagementContext mgmt


 
Constructor Detail

ExplicitUsersSecurityProvider

public ExplicitUsersSecurityProvider(ManagementContext mgmt)


 
Method Detail

authenticate

@Override
public boolean authenticate(javax.servlet.http.HttpSession session, java.lang.String user, java.lang.String password)


isAuthenticated

@Override
public boolean isAuthenticated(javax.servlet.http.HttpSession session)


logout

@Override
public boolean logout(javax.servlet.http.HttpSession session)


 

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