Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

ProcedureTo create a JACC provider

JACC (Java Authorization Contract for Containers) is part of the J2EE 1.4 specification that defines an interface for pluggable authorization providers. This enables the administrator to set up third-party plug in modules to perform authorization. By default, the Application Server provides a simple, JACC-compliant file-based authorization engine.

  1. In the Admin Console tree component, expand the Configurations node.

  2. Select the instance to configure:

    • To configure a particular instance, expand the instance’s config node. For example, the default instance, server, expand the server-config node.

    • To configure the default settings for all instances, expand the default-config node.

  3. Expand the Security node.

  4. Select the JACC Providers node.

  5. On the JACC Providers page, click New.

  6. On the Create JACC Provider page, enter the following:

    • Name – The name to use to identify this provider.

    • Policy Configuration – The name of the class that implements the policy configuration factory. The default provider uses

    • Policy Provider – The name of the class that implements the policy factory. The default provider uses

  7. Add properties to the provider by clicking the Add Property button. Valid properties include:

    • repository – the directory that contains the policy file. For the default provider, this value is ${com.sun.aas.instanceRoot}/generated/policy.

  8. Click OK to save this configuration, or click Cancel to quit without saving.