org.openejb.security
Class PermissionManager
java.lang.Object
org.openejb.security.PermissionManager
- All Implemented Interfaces:
- Serializable
- public final class PermissionManager
- extends Object
- implements Serializable
Create a sparse matrix of pre-created EJB permissions.
TODO: This matrix isn't sparse enough for the likes of certain cheeseheads.
- Version:
- $Revision: 445228 $ $Date: 2005-02-27 05:38:41 +0100 (Sun, 27 Feb 2005) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionManager
public PermissionManager(String ejbName,
InterfaceMethodSignature[] signatures)
getPermission
public Permission getPermission(EJBInterfaceType invocationType,
int operationIndex)
- Return the permission for that invocation type and operation index.
Note that the permissions matrix is sparse and it may return null.
- Parameters:
invocationType
- the invocation typeoperationIndex
- the operation index
- Returns:
Copyright © 1999-2006 OpenEJB. All Rights Reserved.