Class PolicyUtil

java.lang.Object
org.wildfly.security.authz.jacc.PolicyUtil

public final class PolicyUtil extends Object
Utility for setting and using the underlying Policy. This class does not include any doPrivileged calls as the caller is expected to have the required permissions.
Author:
Darran Lofthouse
  • Method Details

    • setPolicy

      public static void setPolicy(Policy policy)
    • getPolicy

      public static Policy getPolicy()
    • getPolicyUtil

      public static PolicyUtil getPolicyUtil()
    • implies

      public boolean implies(ProtectionDomain domain, Permission permission)
    • refresh

      public void refresh()