Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

- Previous: Admin Console Tasks for Realms
- Next: Admin Console Tasks for Audit Modules

# Admin Console Tasks for JACC Providers

- To create a JACC provider

- To edit a JACC provider

- To delete a JACC provider

- To set the active JACC provider

## To 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 Configuration node.

2. Expand the Security node.

3. Select the JACC Providers node.

4. On the JACC Providers page, click New.

5. 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 `com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl`.

   - Policy Provider – The name of the class that implements the policy factory. The default provider uses `com.sun.enterprise.security.provider.PolicyWrapper`.

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

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

##### See Also

- Specifying JACC Providers

- To edit a JACC provider

- To delete a JACC provider

- To set the active JACC provider

## To edit a JACC provider

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

2. Expand the Security node.

3. Expand the JACC Providers node.

4. Select the node of the JACC provider to be edited.

5. On the Edit JACC Provider page, modify the provider information as desired:

   - Policy Configuration – The name of the class that implements the policy configuration factory.

   - Policy Provider – The name of the class that implements the policy factory.

6. To add properties, click the Add button. Enter the name and value for the property. Valid entries include:

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

7. To delete an existing property, click in the checkbox to the left of the property, then click Delete Properties.

8. Click Save to save or click the browser’s back button to cancel without saving.

##### See Also

- To create a JACC provider

- To delete a JACC provider

- To set the active JACC provider

## To delete a JACC provider

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

2. Expand the Security node.

3. Select the JACC Providers node.

4. Click in the checkbox to the left of the JACC provider to be deleted.

5. Click Delete.

##### See Also

- To create a JACC provider

- To edit a JACC provider

- To set the active JACC provider

## To set the active JACC provider

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

2. Select the Security node.

   The Security page displays.

3. In the JACC field, enter the name of the JACC provider to be used by the server.

   If you don’t know which JACC providers are available, expand the JACC Provider component in the tree to view all configured JACC providers.

4. Select Save to save the changes or Load Defaults to return to the default values.

5. Restart the Application Server if Restart Required displays in the console.

##### See Also

- To create a JACC provider

- To edit a JACC provider

- To delete a JACC provider

- Previous: Admin Console Tasks for Realms
- Next: Admin Console Tasks for Audit Modules

- © 2010, Oracle Corporation and/or its affiliates