Package com.sun.enterprise.security
Class PolicyLoader
- java.lang.Object
-
- com.sun.enterprise.security.PolicyLoader
-
@Service @Singleton public class PolicyLoader extends Object
Loads the default JACC Policy Provider into the system.- Author:
- Harpreet Singh, Jyri J. Virkki
-
-
Constructor Summary
Constructors Constructor Description PolicyLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidloadPolicy()Attempts to install the JACC policy-provider (authorization module)
-
-
-
Method Detail
-
loadPolicy
public void loadPolicy()
Attempts to install the JACC policy-provider (authorization module)The policy-provider element in domain.xml is consulted for the class to use.
Note that if the
jakarta.security.jacc.policy.providersystem property is set it will override the domain.xml configuration. This will normally not be the case in Payara.The J2EE 1.3 property
jakarta.security.jacc.auth.policy.provideris checked as a last resort. It should not be set in J2EE 1.4.
-
-