|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.auth.SimpleAuthority
public class SimpleAuthority
Field Summary | |
---|---|
static java.lang.String |
ACCESS_FILENAME_PROPERTY
|
static java.lang.String |
KEYSPACES_WRITE_PROPERTY
|
Constructor Summary | |
---|---|
SimpleAuthority()
|
Method Summary | |
---|---|
java.util.EnumSet<Permission> |
authorize(AuthenticatedUser user,
java.util.List<java.lang.Object> resource)
|
void |
validateConfiguration()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ACCESS_FILENAME_PROPERTY
public static final java.lang.String KEYSPACES_WRITE_PROPERTY
Constructor Detail |
---|
public SimpleAuthority()
Method Detail |
---|
public java.util.EnumSet<Permission> authorize(AuthenticatedUser user, java.util.List<java.lang.Object> resource)
authorize
in interface IAuthority
user
- An authenticated user from a previous call to IAuthenticator.authenticate.resource
- A List of Objects containing Strings and byte[]s: represents a resource in the hierarchy
described in the Javadocs.
public void validateConfiguration() throws ConfigurationException
validateConfiguration
in interface IAuthority
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |