Use the JACC Providers page to configure Java Authorization Contract for Containers (JACC) providers for the selected GlassFish Server instance or cluster.
JACC providers can be used by third-party authorization modules for applications running in GlassFish Server. The default GlassFish Server installation includes two JACC providers, named default
and simple
. These default providers implement a simple, file-based authorization engine that complies with the JACC specification. You can also create your own custom JACC providers. See To Create a JACC Provider.
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
.
For each JACC provider, the following information is provided.
The name of the JACC provider. This name is used to reference the jacc-provider
element in domain.xml
.
The fully qualified class name for the javax.security.jacc.PolicyConfigurationFactory.provider
that implements the provider-specific javax.security.jacc.PolicyConfigurationFactory
.
The fully qualified class name for the javax.security.jacc.policy.provider
that implements the java.security.Policy
.
The default JACC providers also support the following property.
The directory containing the JACC policy file. For the default
GlassFish Server JACC provider, the default directory is ${com.sun.aas.instanceRoot}/generated/policy
. This property is not defined by default for the simple
GlassFish Server JACC provider.
The JACC Providers table also contains the following options.
Button to create a new JACC provider.
Button to delete one or more selected JACC providers.