Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers

Returns

This function returns the appropriate message for the status code as a const char *

AM_SUCCESS

Success.

AM_FAILURE

Failure.

AM_INIT_FAILURE

Initialization failure.

AM_AUTH_FAILURE

OpenSSO Enterprise Authentication Service failure.

AM_NAMING_FAILURE

OpenSSO Enterprise Naming Service failure.

AM_SESSION_FAILURE

OpenSSO Enterprise Session Service failure.

AM_POLICY_FAILURE

OpenSSO Enterprise Policy Service failure.

AM_NO_POLICY

No policy found.

AM_INVALID_ARGUMENT

Invalid argument.

AM_INVALID_VALUE

Invalid value.

AM_NOT_FOUND

OpenSSO Enterprise not found.

AM_NO_MEMORY

No memory.

AM_NSPR_ERROR

NSPR error.

AM_END_OF_FILE

Reached end of file.

AM_BUFFER_TOO_SMALL

If the defined size of the buffer is smaller than the encoded value.

AM_NO_SUCH_SERVICE_TYPE

No such service type found.

AM_SERVICE_NOT_AVAILABLE

Service is not available.

AM_ERROR_PARSING_XML

Error found during XML parsing.

XML AM_INVALID_SESSION

Invalid session.

AM_END_OF_FILE

Reached end of file.

AM_INVALID_ACTION_TYPE

Invalid action type.

AM_ACCESS_DENIED

Access denied.

AM_HTTP_ERROR

HTTP error.

AM_INVALID_FQDN_ACCESS

Invalid fully qualified domain name (FQDN) access.

AM_FEATURE_UNSUPPORTED

The feature or configuration is unsupported.

AM_AUTH_CTX_INIT_FAILURE

Authentication context initialization failed.

AM_SERVICE_NOT_INITIALIZED

Specified service was not initialized.

AM_INVALID_RESOURCE_FORMAT

Specified resource name does not follow the format required by the service.

AM_NOTIF_NOT_ENABLED

Notification Service is not enabled or no notification URL is set.

AM_ERROR_DISPATCH_LISTENER

Error occurred dispatching single sign-on (SSO) listener.

AM_REMOTE_LOG_FAILURE

Remote Logging Service encountered an error.

AM_LOG_FAILURE

Log encountered an error.

AM_REMOTE_LOG_NOT_INITIALIZED

Remote Logging Service is not initialized.