All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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.

  1. In the navigation tree, expand the Configuration node.
  2. Under the Configuration node, expand the Security node.
  3. Under the Security node, select the JACC Providers node.

    The JACC Providers page opens.

  4. On the JACC Providers page, click New.

    The New JACC Provider page opens.

  5. On the New JACC Provider page, in the Name field, type the name that will identify this provider.
  6. 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.

  7. 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.

  8. (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.

  9. Click OK.
See Also




© 2015 - 2024 Weber Informatics LLC | Privacy Policy