Class PolicyLoader

java.lang.Object
com.sun.enterprise.security.PolicyLoader

@Service @Singleton public class PolicyLoader extends Object
Loads the Default Policy File into the system.
Author:
Harpreet Singh, Jyri J. Virkki
  • Constructor Details

    • PolicyLoader

      public PolicyLoader()
  • Method Details

    • loadPolicy

      public void loadPolicy()
      Attempts to install the policy-provider. The policy-provider element in domain.xml is consulted for the class to use. Note that if the jakarta.security.jacc.policy.provider system property is set it will override the domain.xml configuration. This will normally not be the case in S1AS.
    • createPolicyProxy

      public static <T> T createPolicyProxy(Class<T> targetClass) throws Exception
      Throws:
      Exception