edu.sdsc.inca.protocol
Class MessageHandler.Permittee
java.lang.Object
edu.sdsc.inca.protocol.MessageHandler.Permittee
- Enclosing class:
- MessageHandler
public abstract static class MessageHandler.Permittee
- extends java.lang.Object
Method Summary |
protected abstract void |
addPermissions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> perms)
|
protected abstract boolean |
grantPermission(java.lang.String action)
|
protected abstract boolean |
hasPermission(java.lang.String action)
|
protected abstract boolean |
revokePermission(java.lang.String action)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public final java.lang.String name
group
public final MessageHandler.PermitteeGroup group
MessageHandler.Permittee
protected MessageHandler.Permittee(java.lang.String n,
MessageHandler.PermitteeGroup g)
- Parameters:
n
- g
-
grantPermission
protected abstract boolean grantPermission(java.lang.String action)
- Parameters:
action
-
- Returns:
revokePermission
protected abstract boolean revokePermission(java.lang.String action)
- Parameters:
action
-
- Returns:
hasPermission
protected abstract boolean hasPermission(java.lang.String action)
- Parameters:
action
-
- Returns:
addPermissions
protected abstract void addPermissions(java.util.Map<java.lang.String,java.util.List<java.lang.String>> perms)
- Parameters:
perms
-