org.wicketstuff.rest.annotations
Annotation Type AuthorizeInvocation


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Inherited
public @interface AuthorizeInvocation

Annotation to apply role-based authorization to resource methods.

Author:
andrea del bene

Required Element Summary
 String[] value
          Gets the roles that are allowed to invoke a method.
 

Element Detail

value

public abstract String[] value
Gets the roles that are allowed to invoke a method.

Returns:
the roles that are allowed. Returns a zero length array by default


Copyright © 2013–2014. All rights reserved.