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() |
PolicyConfiguration |
getPolicyConfiguration(java.lang.String contextID) |
PolicyConfiguration |
getPolicyConfiguration(java.lang.String contextID,
boolean remove) |
boolean |
hasAccessToWebResource(java.lang.String resource,
java.lang.String... methods) |
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
public PolicyConfiguration getPolicyConfiguration(java.lang.String contextID)
getPolicyConfiguration
in class JaccProvider
public PolicyConfiguration getPolicyConfiguration()
getPolicyConfiguration
in class JaccProvider
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
public boolean hasAccessToWebResource(java.lang.String resource, java.lang.String... methods)
hasAccessToWebResource
in class JaccProvider