com.atlassian.sal.api.websudo
Annotation Type WebSudoRequired


@Retention(value=RUNTIME)
@Target(value={PACKAGE,METHOD,TYPE})
@Inherited
public @interface WebSudoRequired

Elements marked with this annotation will require WebSudo protection.

This annotation can be applied to:

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:
WebSudoNotRequired



Copyright © 2011 Atlassian. All Rights Reserved.