javax.security.auth.message

Interface MessagePolicy.Target

  • Enclosing class:
    MessagePolicy

    public static interface MessagePolicy.Target
    This interface is used to represent and perform message targeting. Targets are used by message authentication modules to operate on the corresponding content within messages.

    The internal state of a Target indicates whether it applies to the request or response message of a MessageInfo and to which components it applies within the identified message.

    • Method Detail

      • get

        Object get(MessageInfo messageInfo)
        Get the Object identified by the Target from the MessageInfo.
        Parameters:
        messageInfo - The MessageInfo containing the request or response message from which the target is to be obtained.
        Returns:
        An Object representing the target, or null when the target could not be found in the MessageInfo.
      • remove

        void remove(MessageInfo messageInfo)
        Remove the Object identified by the Target from the MessageInfo.
        Parameters:
        messageInfo - The MessageInfo containing the request or response message from which the target is to be removed.
      • put

        void put(MessageInfo messageInfo,
                 Object data)
        Put the Object into the MessageInfo at the location identified by the target.
        Parameters:
        messageInfo - The MessageInfo containing the request or response message into which the object is to be put.

Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/security/auth/message/MessagePolicy.Target.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com, MessagePolicy.Target (Java(TM) EE 7 Specification APIs)

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.