public class BasicJaccProvider extends JaccProvider
JaccProvider.Factory, JaccProvider.Policy
Constructor and Description |
---|
BasicJaccProvider() |
Modifier and Type | Method and Description |
---|---|
protected BasicPolicyConfiguration |
createPolicyConfiguration(java.lang.String contextID) |
java.security.PermissionCollection |
getPermissions(java.security.CodeSource codesource) |
PolicyConfiguration |
getPolicyConfiguration(java.lang.String contextID,
boolean remove) |
boolean |
implies(java.security.ProtectionDomain domain,
java.security.Permission permission) |
boolean |
inService(java.lang.String contextID) |
void |
refresh() |
get, install, set
public PolicyConfiguration getPolicyConfiguration(java.lang.String contextID, boolean remove) throws PolicyContextException
getPolicyConfiguration
in class JaccProvider
PolicyContextException
protected BasicPolicyConfiguration createPolicyConfiguration(java.lang.String contextID)
public boolean inService(java.lang.String contextID) throws PolicyContextException
inService
in class JaccProvider
PolicyContextException
public java.security.PermissionCollection getPermissions(java.security.CodeSource codesource)
getPermissions
in class JaccProvider
public void refresh()
refresh
in class JaccProvider
public boolean implies(java.security.ProtectionDomain domain, java.security.Permission permission)
implies
in class JaccProvider