org.apache.geronimo.security.jacc
Class PolicyConfigurationGeneric

java.lang.Object
  extended by org.apache.geronimo.security.jacc.PolicyConfigurationGeneric
All Implemented Interfaces:
PolicyConfiguration, GeronimoPolicyConfiguration

public class PolicyConfigurationGeneric
extends Object
implements GeronimoPolicyConfiguration


Method Summary
 void addToExcludedPolicy(Permission permission)
           
 void addToExcludedPolicy(PermissionCollection permissions)
           
 void addToRole(String roleName, Permission permission)
           
 void addToRole(String roleName, PermissionCollection permissions)
           
 void addToUncheckedPolicy(Permission permission)
           
 void addToUncheckedPolicy(PermissionCollection permissions)
           
 void commit()
           
 void delete()
           
 String getContextID()
           
 boolean implies(ProtectionDomain domain, Permission permission)
           
 boolean inService()
           
 void linkConfiguration(PolicyConfiguration link)
           
 void open(boolean remove)
           
 void removeExcludedPolicy()
           
 void removeRole(String roleName)
           
 void removeUncheckedPolicy()
           
 void setPrincipalRoleMapping(Map principalRoleMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.