|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_lib.security.AbsPermissionManager
Defines an abstract PermissionManager class which will manage JACC permissions for an ejbjar, webapp, etc.
Field Summary | |
protected java.lang.String |
contextId
Context ID |
protected static java.security.Policy |
policy
Policy to use |
protected javax.security.jacc.PolicyConfiguration |
policyConfiguration
JACC Policy configuration |
Constructor Summary | |
AbsPermissionManager(java.lang.String contextId)
Default Constructor |
Method Summary | |
void |
commit()
Commit the Policy Configuration |
void |
delete()
Delete this object |
protected abstract void |
resetDeploymentDesc()
Reset Deployment Descriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.security.jacc.PolicyConfiguration policyConfiguration
protected java.lang.String contextId
protected static java.security.Policy policy
Constructor Detail |
public AbsPermissionManager(java.lang.String contextId) throws PermissionManagerException
contextId
- context ID used for PolicyContext
PermissionManagerException
- if permissions can't be setMethod Detail |
public void delete() throws PermissionManagerException
PermissionManagerException
public void commit() throws PermissionManagerException
PermissionManagerException
- if commit can't be doneprotected abstract void resetDeploymentDesc()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |