## Uses of Class
javax.security.auth.message.AuthException

- Packages that use AuthException
  Package | Description
  --- | ---
  javax.security.auth.message | This package defines the core interfaces of the JSR 196 message authentication SPI.
  javax.security.auth.message.config | This package defines the interfaces implemented by JSR 196 compatible configuration systems.
  javax.security.auth.message.module | This package defines the interfaces implemented by JSR 196 compatible authentication modules.

- - ### Uses of AuthException in javax.security.auth.message

    Methods in javax.security.auth.message that throw AuthException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServerAuth.`cleanSubject(MessageInfo messageInfo, Subject subject)` Remove method specific principals and credentials from the subject.
    `void` | ClientAuth.`cleanSubject(MessageInfo messageInfo, Subject subject)` Remove implementation specific principals and credentials from the subject.
    `AuthStatus` | ClientAuth.`secureRequest(MessageInfo messageInfo, Subject clientSubject)` Secure a service request message before sending it to the service.
    `AuthStatus` | ServerAuth.`secureResponse(MessageInfo messageInfo, Subject serviceSubject)` Secure a service response before sending it to the client.
    `AuthStatus` | ServerAuth.`validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject)` Authenticate a received service request.
    `AuthStatus` | ClientAuth.`validateResponse(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject)` Validate a received service response.

  - ### Uses of AuthException in javax.security.auth.message.config

    Methods in javax.security.auth.message.config that throw AuthException
    Modifier and Type | Method and Description
    --- | ---
    `ServerAuthContext` | ServerAuthConfig.`getAuthContext(String authContextID, Subject serviceSubject, Map properties)` Get a ServerAuthContext instance from this ServerAuthConfig.
    `ClientAuthContext` | ClientAuthConfig.`getAuthContext(String authContextID, Subject clientSubject, Map properties)` Get a ClientAuthContext instance from this ClientAuthConfig.
    `ClientAuthConfig` | AuthConfigProvider.`getClientAuthConfig(String layer, String appContext, CallbackHandler handler)` Get an instance of ClientAuthConfig from this provider.
    `ServerAuthConfig` | AuthConfigProvider.`getServerAuthConfig(String layer, String appContext, CallbackHandler handler)` Get an instance of ServerAuthConfig from this provider.

  - ### Uses of AuthException in javax.security.auth.message.module

    Methods in javax.security.auth.message.module that throw AuthException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServerAuthModule.`initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map options)` Initialize this module with request and response message policies to enforce, a CallbackHandler, and any module-specific configuration properties.
    `void` | ClientAuthModule.`initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map options)` Initialize this module with request and response message policies to enforce, a CallbackHandler, and any module-specific configuration properties.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.