Annotation Interface Secrecy


@Target({FIELD,METHOD,CONSTRUCTOR}) @Retention(RUNTIME) public @interface Secrecy
This annotation will be used to put the annotated member signature on the security level of secrecy. The annotation is equivalent to UMLsec «critical»{secrecy={annotated member}} or the corresponding Java annotation @Secrecy(secrecy={"annotated member"})
Author:
speldszus
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    If this annotation is used in UMLsecRT, an optional early return value can be specified.
  • Element Details

    • earlyReturn

      String earlyReturn
      If this annotation is used in UMLsecRT, an optional early return value can be specified. This can be a static value corresponding to the annotated member's field type or return type or the name of a static method that should be invoked an which will return the corresponding value.
      Returns:
      the early return value.
      Default:
      ""