@Retention(value=SOURCE) @Target(value=TYPE) public @interface RooSecurityAuthorization
RooSecurityAuthorizations
annotation.
It includes necessary information to apply PreAuthorize annotation| Modifier and Type | Optional Element and Description |
|---|---|
String |
method
Indicates the method name
|
Class<?>[] |
parameters
Indicates the parameter types associated to the method
|
String[] |
roles
Indicates the roles to apply authorization
|
String[] |
usernames
Indicates the usernames to apply authorization
|
public abstract String method
public abstract Class<?>[] parameters
public abstract String[] roles
public abstract String[] usernames
Copyright © 2009–2018 Pivotal Software, Inc.. All rights reserved.