edu.sdsc.inca.protocol
Class MessageHandler.Permittee

java.lang.Object
  extended by edu.sdsc.inca.protocol.MessageHandler.Permittee
Enclosing class:
MessageHandler

public abstract static class MessageHandler.Permittee
extends java.lang.Object


Field Summary
 MessageHandler.PermitteeGroup group
           
 java.lang.String name
           
 
Constructor Summary
protected MessageHandler.Permittee(java.lang.String n, MessageHandler.PermitteeGroup g)
           
 
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
 

Field Detail

name

public final java.lang.String name

group

public final MessageHandler.PermitteeGroup group
Constructor Detail

MessageHandler.Permittee

protected MessageHandler.Permittee(java.lang.String n,
                                   MessageHandler.PermitteeGroup g)
Parameters:
n -
g -
Method Detail

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 -