public interface SecurityConstraint
SecurityConstraint
Used by SecureResource to specify access constraints for security purposes.
Modifier and Type | Method and Description |
---|---|
List<String> |
getGroups()
getGroups
|
List<String> |
getPermissions()
getPermissions
|
List<String> |
getRoles()
getRoles
|
List<String> |
getUsers()
getUsers
|
void |
setGroups(List<String> groups)
setGroups
|
void |
setPermissions(List<String> permissions)
setPermissions
|
void |
setRoles(List<String> roles)
setRoles
|
void |
setUsers(List<String> users)
setUsers
|
static final String WILD_CHAR
void setUsers(List<String> users)
setUsers
users
- constraint users list as List of Stringvoid setRoles(List<String> roles)
setRoles
roles
- constraint roles list as List of Stringvoid setGroups(List<String> groups)
setGroups
groups
- constraint groups list as List of StringList<String> getPermissions()
getPermissions
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.