org.apache.cxf.security.claims.authorization

## Annotation Type Claim

-     @Target(value={TYPE,METHOD})
      @Retention(value=RUNTIME)
      public @interface Claim

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String[]` | `value`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `format`
    `boolean` | `matchAll` If set to true then all the values of this claim have to be matched
    `ClaimMode` | `mode` If set to ClaimMode.LAX then the match will fail only if the incoming assertion has the same name and format claim with non-matching values
    `String` | `name`

- - ### Element Detail

    - #### value

          public abstract String[] value

    - #### format

          public abstract String format

      Default:
        "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"

    - #### name

          public abstract String name

      Default:
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role"

    - #### matchAll

          public abstract boolean matchAll

      If set to true then all the values of this claim have to be matched
      Default:
        false

    - #### mode

          public abstract ClaimMode mode

      If set to ClaimMode.LAX then the match will fail only if the incoming assertion has the same name and format claim with non-matching values
      Default:
        org.apache.cxf.security.claims.authorization.ClaimMode.STRICT

Apache CXF