Annotation Type WebSudoRequired


@Retention(RUNTIME) @Target({PACKAGE,METHOD,TYPE}) @Inherited public @interface WebSudoRequired
Elements marked with this annotation will require WebSudo protection.

This annotation can be applied to:

  • REST resources

If an element is marked as @WebSudoRequired the host application ensures that it will only be accessed as part of a WebSudo session if the host application supports WebSudo.

Annotations can be applied on the package, type (class, interface and enum) and method level. Annotations on more specific elements (method < type < package) have precedence over annotations applied to more general elements. E.g. an annotation applied to a method overrides the annotation applied to the whole package.

Since:
2.2
See Also: