org.apache.jetspeed.security.impl
Class JaasPolicyCoordinator
java.lang.Object
java.security.Policy
org.apache.jetspeed.security.impl.JaasPolicyCoordinator
public class JaasPolicyCoordinator
- extends Policy
Provide coordination between the default policy and Jetspeed custom policy.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultPolicy
private final Policy defaultPolicy
j2Policy
private final Policy j2Policy
JaasPolicyCoordinator
public JaasPolicyCoordinator(Policy defaultPolicy,
Policy j2Policy)
Constructor for coordinating the policies.
- Parameters:
defaultPolicy
- The default policy.j2Policy
- Jetspeed policy.
getPermissions
public PermissionCollection getPermissions(CodeSource codeSource)
- Specified by:
getPermissions
in class Policy
- See Also:
Policy.getPermissions(java.security.CodeSource)
refresh
public void refresh()
- Specified by:
refresh
in class Policy
- See Also:
Policy.refresh()
implies
public boolean implies(ProtectionDomain domain,
Permission permission)
- Overrides:
implies
in class Policy
- See Also:
Policy.implies(java.security.ProtectionDomain, java.security.Permission)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.