public abstract class SecurityManagerSupport
extends java.lang.Object
implements org.apache.geode.security.SecurityManager
SecurityManagerSupport
is an abstract base class implementing Apache Geode's
SecurityManager
interface, providing default implementations of the
SecurityManager
auth methods.SecurityManager
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEFAULT_AUTHORIZATION |
Constructor and Description |
---|
SecurityManagerSupport() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
authenticate(java.util.Properties credentials) |
boolean |
authorize(java.lang.Object principal,
org.apache.geode.security.ResourcePermission permission) |
void |
close() |
void |
init(java.util.Properties securityProperties) |
protected static final boolean DEFAULT_AUTHORIZATION
public void init(java.util.Properties securityProperties)
init
in interface org.apache.geode.security.SecurityManager
public java.lang.Object authenticate(java.util.Properties credentials) throws org.apache.geode.security.AuthenticationFailedException
authenticate
in interface org.apache.geode.security.SecurityManager
org.apache.geode.security.AuthenticationFailedException
public boolean authorize(java.lang.Object principal, org.apache.geode.security.ResourcePermission permission)
authorize
in interface org.apache.geode.security.SecurityManager
public void close()
close
in interface org.apache.geode.security.SecurityManager