javax.security.auth.message

Interface MessagePolicy.ProtectionPolicy

  • Enclosing class:
    MessagePolicy

    public static interface MessagePolicy.ProtectionPolicy
    This interface is used to represent message authentication policy.

    The internal state of a ProtectionPolicy object defines the message authentication requirements to be applied to the associated Target.

    • Field Detail

      • AUTHENTICATE_SENDER

        static final String AUTHENTICATE_SENDER
        The identifer for a ProtectionPolicy that indicates that the sending entity is to be authenticated.
        See Also:
        Constant Field Values
      • AUTHENTICATE_CONTENT

        static final String AUTHENTICATE_CONTENT
        The identifer for a ProtectionPolicy that indicates that the origin of data within the message is to be authenticated (that is, the message is to be protected such that its recipients can establish who defined the message content).
        See Also:
        Constant Field Values
      • AUTHENTICATE_RECIPIENT

        static final String AUTHENTICATE_RECIPIENT
        The identifer for a ProtectionPolicy that indicates that the message recipient is to be authenticated.
        See Also:
        Constant Field Values
    • Method Detail

      • getID

        String getID()
        Get the ProtectionPolicy identifier. An identifier may represent a conceptual protection policy (as is the case with the static identifiers defined within this interface) or it may identify a procedural policy expression or plan that may be more difficult to categorize in terms of a conceptual identifier.
        Returns:
        A String containing a policy identifier. This interface defines some policy identifier constants. Configuration systems may define and employ other policy identifiers values.

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.ProtectionPolicy.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.ProtectionPolicy (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.