Class EdalCompositePolicy
- java.lang.Object
-
- java.security.Policy
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.security.EdalCompositePolicy
-
public class EdalCompositePolicy extends java.security.Policy
JAAS policy for merge existing setPolicy
andEdalPolicy
-
-
Constructor Summary
Constructors Constructor Description EdalCompositePolicy(java.util.List<java.security.Policy> policies)
-
Method Summary
Modifier and Type Method Description java.security.PermissionCollection
getPermissions(java.security.CodeSource codesource)
java.security.PermissionCollection
getPermissions(java.security.ProtectionDomain domain)
boolean
implies(java.security.ProtectionDomain domain, java.security.Permission permission)
void
refresh()
-
-
-
Method Detail
-
getPermissions
public java.security.PermissionCollection getPermissions(java.security.CodeSource codesource)
- Overrides:
getPermissions
in classjava.security.Policy
-
getPermissions
public java.security.PermissionCollection getPermissions(java.security.ProtectionDomain domain)
- Overrides:
getPermissions
in classjava.security.Policy
-
implies
public boolean implies(java.security.ProtectionDomain domain, java.security.Permission permission)
- Overrides:
implies
in classjava.security.Policy
-
refresh
public void refresh()
- Overrides:
refresh
in classjava.security.Policy
-
-