en.help.task-jaccprovidernew.html Maven / Gradle / Ivy
To Create a JACC Provider
JACC (Java Authorization Contract for Containers) is the part of the Java EE
specification that defines an interface for pluggable authorization providers. This enables the administrator
to set up third-party plugin modules to perform authorization. By default, the GlassFishTM
Server provides a simple, JACC-compliant file-based authorization engine.
For information on how to write the implementation classes for a JACC provider,
see the JACC specification at http://jcp.org/en/jsr/detail?id=115.
- In the navigation tree, expand the Configuration node.
- Under the Configuration node, expand the Security node.
- Under the Security node, select the JACC Providers node.
The JACC Providers page opens.
- On the JACC Providers page, click New.
The New JACC Provider page opens.
- On the New JACC Provider page, in the Name field, type the
name that will identify this provider.
- In the Policy Configuration field, type the name of the class that implements
the policy configuration factory.
The default provider uses com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl. The simple provider uses com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory.
- In the Policy Provider field, type the name of the class that implements
the policy factory.
The default provider uses com.sun.enterprise.security.provider.PolicyWrapper. The simple provider uses com.sun.enterprise.security.jacc.provider.SimplePolicyProvider.
- (Optional) In the Additional Properties section, specify additional properties.
To add a property, click the Add Property button. In the blank row
that appears, type the property name in the Name field, and type the
property value in the Value field.
For a description of the additional properties available for JACC providers, see Properties Specific to JACC Providers.
- Click OK.
See Also