MessagePolicy (JASPIC 3.0 API Documentation - Apache Tomcat 10.1.48)
Description: declaration: package: jakarta.security.auth.message, class: MessagePolicy

# Class MessagePolicy

java.lang.Object
jakarta.security.auth.message.MessagePolicy

public class MessagePolicy extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static interface`
  `MessagePolicy.ProtectionPolicy`
  `static interface`
  `MessagePolicy.Target`
  `static class`
  `MessagePolicy.TargetPolicy`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MessagePolicy(MessagePolicy.TargetPolicy[] targetPolicies, boolean mandatory)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MessagePolicy.TargetPolicy[]`
  `getTargetPolicies()`
  `boolean`
  `isMandatory()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MessagePolicy

    public MessagePolicy(MessagePolicy.TargetPolicy[] targetPolicies, boolean mandatory)

- ## Method Details

  - ### isMandatory

    public boolean isMandatory()

  - ### getTargetPolicies

    public MessagePolicy.TargetPolicy[] getTargetPolicies()