Annotation Type EdmProtectedBy


@Retention(RUNTIME) @Target(FIELD) public @interface EdmProtectedBy
Describes which authorization claim shall be used to filter the annotated attribute. In case multiple attributes of an entity are annotated they are connected via an AND operation. This annotation is respected also if the attribute is marked to be ignored.
Author:
Oliver Grande
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the authorization claim
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional: At embedded attributes the path to the attribute that shall be protected by the claim.
    boolean
    Optional: In case the protected attributes is of type string also wildcards are supported. '*' and '%' representing zero or more characters and '+' as well as '_' for a single character.
  • Element Details

    • name

      String name
      Name of the authorization claim
      Returns:
    • path

      String path
      Optional: At embedded attributes the path to the attribute that shall be protected by the claim. In case the path is composed, path segments joined together by forward slashes (/).

      The correctness of the pass is check late during request processing.
      Returns:
      Default:
      ""
    • wildcardSupported

      boolean wildcardSupported
      Optional: In case the protected attributes is of type string also wildcards are supported. '*' and '%' representing zero or more characters and '+' as well as '_' for a single character.
      Default:
      true