|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.core.security.PluginPermission
public final class PluginPermission
Indicates which permissions the user has for a specific plugin.
Constructor Summary | |
---|---|
protected |
PluginPermission(java.lang.String key)
Creates a new instance |
Method Summary | |
---|---|
java.lang.String |
getKey()
The key of the plugin |
boolean |
isAuthorized()
Checks if the user is authorized to use the plugin. |
void |
setAuthorized(boolean authorized)
Set the permission |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PluginPermission(java.lang.String key)
key
- The key of the plugin (class name)Method Detail |
---|
public final java.lang.String getKey()
public final boolean isAuthorized()
public final void setAuthorized(boolean authorized)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |