|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.security.AbsPermissionManager
public abstract class AbsPermissionManager
Defines an abstract PermissionManager class which will manage JACC permissions for an ejbjar, webapp, etc.
| Constructor Summary | |
|---|---|
AbsPermissionManager(String contextId)
Default Constructor. |
|
AbsPermissionManager(String contextId,
boolean remove)
Default Constructor. |
|
| Method Summary | |
|---|---|
void |
commit()
Commit the Policy Configuration. |
void |
delete()
Delete this object. |
protected String |
getContextId()
|
protected static Policy |
getPolicy()
|
protected PolicyConfiguration |
getPolicyConfiguration()
|
protected abstract void |
resetDeploymentDesc()
Reset Deployment Descriptor. |
protected void |
setContextId(String contextId)
|
protected static void |
setPolicy(Policy policy)
|
protected void |
setPolicyConfiguration(PolicyConfiguration policyConfiguration)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbsPermissionManager(String contextId)
throws PermissionManagerException
contextId - context ID used for PolicyContext
PermissionManagerException - if permissions can't be set
public AbsPermissionManager(String contextId,
boolean remove)
throws PermissionManagerException
contextId - context ID used for PolicyContextremove - - if true, the policy configuration will be removed.
PermissionManagerException - if permissions can't be set| Method Detail |
|---|
public void delete()
throws PermissionManagerException
PermissionManagerException - if the configuration can't be deleted
public void commit()
throws PermissionManagerException
PermissionManagerException - if commit can't be doneprotected abstract void resetDeploymentDesc()
protected static Policy getPolicy()
protected static void setPolicy(Policy policy)
policy - The policy to set.protected String getContextId()
protected void setContextId(String contextId)
contextId - The contextId to set.protected PolicyConfiguration getPolicyConfiguration()
protected void setPolicyConfiguration(PolicyConfiguration policyConfiguration)
policyConfiguration - The policyConfiguration to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||