org.springframework.security.access.prepost
Annotation Type PreAuthorize


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

Annotation for specifying a method access-control expression which will be evaluated to decide whether a method invocation is allowed or not.

Since:
3.0

Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value
Returns:
the Spring-EL expression to be evaluated before invoking the protected method