| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SecurityAdapter
Common security API for custom security providers
| Method Summary | |
|---|---|
|  boolean | hasRole(java.lang.String[] allowedRoles)Iterates the list of GrantedAuthorityfor this user, and returns
 true if one of them is included in the list of authorized roles. | 
|  void | throwInsufficientPermissionsException(java.lang.String message)Throw a provider-specific exception for not enough permissions. | 
| Method Detail | 
|---|
boolean hasRole(java.lang.String[] allowedRoles)
GrantedAuthority for this user, and returns
 true if one of them is included in the list of authorized roles.
allowedRoles - the list of roles to check.
void throwInsufficientPermissionsException(java.lang.String message)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||