|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
General security provider interface to access the policy configuration and the policy that goes with it.
Method Summary | |
java.security.Policy |
getPolicy()
Get the active security policy that allows security checks |
javax.security.jacc.PolicyConfiguration |
getPolicyConfiguration(java.lang.String contextID,
boolean remove)
Get the policy configuration interface that allows to configure the policy |
boolean |
inService(java.lang.String policyContextID)
Test if the provided context id has an active policy configuration. |
Method Detail |
public boolean inService(java.lang.String policyContextID) throws javax.security.jacc.PolicyContextException
policyContextID
- the identifier of the policy context to test
javax.security.jacc.PolicyContextException
public javax.security.jacc.PolicyConfiguration getPolicyConfiguration(java.lang.String contextID, boolean remove) throws javax.security.jacc.PolicyContextException
contextID
- the policy context identifierremove
- true, if the policy configuration should be removed from the policy
javax.security.jacc.PolicyContextException
public java.security.Policy getPolicy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |