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
Version:
$Id: PreAuthorize.java 3650 2009-05-11 05:18:20Z ltaylor $
Author:
Luke Taylor

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


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.