## Uses of Interface
javax.security.auth.message.MessageInfo

- Packages that use MessageInfo
  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.

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

    Methods in javax.security.auth.message with parameters of type MessageInfo
    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.
    `Object` | MessagePolicy.Target.`get(MessageInfo messageInfo)` Get the Object identified by the Target from the MessageInfo.
    `void` | MessagePolicy.Target.`put(MessageInfo messageInfo, Object data)` Put the Object into the MessageInfo at the location identified by the target.
    `void` | MessagePolicy.Target.`remove(MessageInfo messageInfo)` Remove the Object identified by the Target from the MessageInfo.
    `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 MessageInfo in javax.security.auth.message.config

    Methods in javax.security.auth.message.config with parameters of type MessageInfo
    Modifier and Type | Method and Description
    --- | ---
    `String` | AuthConfig.`getAuthContextID(MessageInfo messageInfo)` Get the authentication context identifier corresponding to the request and response objects encapsulated in messageInfo.

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