javax.security.jacc
Interface PolicyConfiguration


public interface PolicyConfiguration

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

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 inService()
           
 void linkConfiguration(PolicyConfiguration link)
           
 void removeExcludedPolicy()
           
 void removeRole(String roleName)
           
 void removeUncheckedPolicy()
           
 

Method Detail

getContextID

String getContextID()
                    throws PolicyContextException
Throws:
PolicyContextException

addToRole

void addToRole(String roleName,
               PermissionCollection permissions)
               throws PolicyContextException
Throws:
PolicyContextException

addToRole

void addToRole(String roleName,
               Permission permission)
               throws PolicyContextException
Throws:
PolicyContextException

addToUncheckedPolicy

void addToUncheckedPolicy(PermissionCollection permissions)
                          throws PolicyContextException
Throws:
PolicyContextException

addToUncheckedPolicy

void addToUncheckedPolicy(Permission permission)
                          throws PolicyContextException
Throws:
PolicyContextException

addToExcludedPolicy

void addToExcludedPolicy(PermissionCollection permissions)
                         throws PolicyContextException
Throws:
PolicyContextException

addToExcludedPolicy

void addToExcludedPolicy(Permission permission)
                         throws PolicyContextException
Throws:
PolicyContextException

removeRole

void removeRole(String roleName)
                throws PolicyContextException
Throws:
PolicyContextException

removeUncheckedPolicy

void removeUncheckedPolicy()
                           throws PolicyContextException
Throws:
PolicyContextException

removeExcludedPolicy

void removeExcludedPolicy()
                          throws PolicyContextException
Throws:
PolicyContextException

linkConfiguration

void linkConfiguration(PolicyConfiguration link)
                       throws PolicyContextException
Throws:
PolicyContextException

delete

void delete()
            throws PolicyContextException
Throws:
PolicyContextException

commit

void commit()
            throws PolicyContextException
Throws:
PolicyContextException

inService

boolean inService()
                  throws PolicyContextException
Throws:
PolicyContextException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.