org.apache.geronimo.security.jacc
Class PolicyConfigurationGeneric
java.lang.Object
org.apache.geronimo.security.jacc.PolicyConfigurationGeneric
- All Implemented Interfaces:
- PolicyConfiguration, GeronimoPolicyConfiguration
public class PolicyConfigurationGeneric
- extends Object
- implements GeronimoPolicyConfiguration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getContextID
public String getContextID()
throws PolicyContextException
- Specified by:
getContextID
in interface PolicyConfiguration
- Throws:
PolicyContextException
implies
public boolean implies(ProtectionDomain domain,
Permission permission)
- Specified by:
implies
in interface GeronimoPolicyConfiguration
setPrincipalRoleMapping
public void setPrincipalRoleMapping(Map principalRoleMap)
throws PolicyContextException
- Specified by:
setPrincipalRoleMapping
in interface GeronimoPolicyConfiguration
- Throws:
PolicyContextException
addToRole
public void addToRole(String roleName,
PermissionCollection permissions)
throws PolicyContextException
- Specified by:
addToRole
in interface PolicyConfiguration
- Throws:
PolicyContextException
addToRole
public void addToRole(String roleName,
Permission permission)
throws PolicyContextException
- Specified by:
addToRole
in interface PolicyConfiguration
- Throws:
PolicyContextException
addToUncheckedPolicy
public void addToUncheckedPolicy(PermissionCollection permissions)
throws PolicyContextException
- Specified by:
addToUncheckedPolicy
in interface PolicyConfiguration
- Throws:
PolicyContextException
addToUncheckedPolicy
public void addToUncheckedPolicy(Permission permission)
throws PolicyContextException
- Specified by:
addToUncheckedPolicy
in interface PolicyConfiguration
- Throws:
PolicyContextException
addToExcludedPolicy
public void addToExcludedPolicy(PermissionCollection permissions)
throws PolicyContextException
- Specified by:
addToExcludedPolicy
in interface PolicyConfiguration
- Throws:
PolicyContextException
addToExcludedPolicy
public void addToExcludedPolicy(Permission permission)
throws PolicyContextException
- Specified by:
addToExcludedPolicy
in interface PolicyConfiguration
- Throws:
PolicyContextException
removeRole
public void removeRole(String roleName)
throws PolicyContextException
- Specified by:
removeRole
in interface PolicyConfiguration
- Throws:
PolicyContextException
removeUncheckedPolicy
public void removeUncheckedPolicy()
throws PolicyContextException
- Specified by:
removeUncheckedPolicy
in interface PolicyConfiguration
- Throws:
PolicyContextException
removeExcludedPolicy
public void removeExcludedPolicy()
throws PolicyContextException
- Specified by:
removeExcludedPolicy
in interface PolicyConfiguration
- Throws:
PolicyContextException
linkConfiguration
public void linkConfiguration(PolicyConfiguration link)
throws PolicyContextException
- Specified by:
linkConfiguration
in interface PolicyConfiguration
- Throws:
PolicyContextException
delete
public void delete()
throws PolicyContextException
- Specified by:
delete
in interface PolicyConfiguration
- Throws:
PolicyContextException
commit
public void commit()
throws PolicyContextException
- Specified by:
commit
in interface PolicyConfiguration
- Throws:
PolicyContextException
inService
public boolean inService()
throws PolicyContextException
- Specified by:
inService
in interface PolicyConfiguration
- Throws:
PolicyContextException
open
public void open(boolean remove)
- Specified by:
open
in interface GeronimoPolicyConfiguration
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.