Package fr.gouv.vitam.common.security.rest

# Annotation Interface Secured

@Retention(RUNTIME) @Target(METHOD) public @interface Secured
Annotation for REST endpoints to be secured by security profile filtering. Permission should be a unique identifier per endpoint method.

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `String`
  `description`
  `SecurityProfilePermissions`
  `permission`

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `boolean`
  `isAdminOnly`

- ## Element Details

  - ### permission

    SecurityProfilePermissions permission

  - ### description

    String description

  - ### isAdminOnly

    boolean isAdminOnly
    Default:
      `false`