Common Classes

The following classes are used by both the Authentication API and the Authorization API. The services that these classes provide include:

The following table summarizes the common classes:

Class

Description

APIContext

Allows logging, tracing, and error messages to be sent to the Policy Server.

AppSpecificContext

Provides methods that allow custom authentication and authorization objects to share information.

SmJavaApiException

Provides exception functionality to custom authentication and authorization objects.

UserContext

Allows a custom object to set and retrieve information about a user in a user directory. The information includes user attributes and directory attributes associated with the user.

The methods for setting and retrieving user directory attributes are available only if isUserContext() returns true.


Copyright © 2009 CA. All rights reserved.