Jaas.policyManagement
Class KAoSPolicyProvider
java.lang.Object
java.security.Policy
sun.security.provider.PolicyFile
Jaas.policyManagement.KAoSPolicyProvider
public class KAoSPolicyProvider
- extends sun.security.provider.PolicyFile
This class extends the behaviour of the default policy provider.
It assigns a KAoSPermission to any Subject.
To install it, please change the line
policy.provider=sun.security.provider.PolicyProvider
in the java.security file (( file: [path-JDK]\jre\lib\security\java.security))
wiht the following line:
policy.provider=Jaas.policyManagement.KAoSPolicyProvider
Method Summary |
java.security.PermissionCollection |
getPermissions(java.security.CodeSource codesource)
|
java.security.PermissionCollection |
getPermissions(java.security.ProtectionDomain protectiondomain)
|
void |
refresh()
|
Methods inherited from class sun.security.provider.PolicyFile |
getSignerCertificates, implies |
Methods inherited from class java.security.Policy |
getPolicy, setPolicy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KAoSPolicyProvider
public KAoSPolicyProvider()
getPermissions
public java.security.PermissionCollection getPermissions(java.security.CodeSource codesource)
- Overrides:
getPermissions
in class sun.security.provider.PolicyFile
getPermissions
public java.security.PermissionCollection getPermissions(java.security.ProtectionDomain protectiondomain)
- Overrides:
getPermissions
in class sun.security.provider.PolicyFile
refresh
public void refresh()
- Overrides:
refresh
in class sun.security.provider.PolicyFile