@Service @Singleton public class PolicyLoader extends Object
| Constructor and Description |
|---|
PolicyLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
loadPolicy()
Attempts to install the JACC policy-provider (authorization module)
|
public void loadPolicy()
The policy-provider element in domain.xml is consulted for the class to use.
Note that if the javax.security.jacc.policy.provider system property is set it will override
the domain.xml configuration. This will normally not be the case in Payara.
The J2EE 1.3 property javax.security.jacc.auth.policy.provider is checked as a last resort.
It should not be set in J2EE 1.4.
Copyright © 2019. All rights reserved.