|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface AccessProvider
The AccessProvider is a UserProvider specifically used for storing details about Groups and memberships. All Entities referred to are of type Group, and all Entity.Accessor objects can be safely cast to Group.Accessor
UserProvider
,
Group
Method Summary | |
---|---|
boolean |
addToGroup(String username,
String groupname)
Deprecated. Add user to group. |
boolean |
inGroup(String username,
String groupname)
Deprecated. Find out whether given user is member of given group. |
List<String> |
listGroupsContainingUser(String username)
Deprecated. List all groups that contain a user. |
List<String> |
listUsersInGroup(String groupname)
Deprecated. List all users that are contained within a group. |
boolean |
removeFromGroup(String username,
String groupname)
Deprecated. Remove user from group. |
Methods inherited from interface com.opensymphony.user.provider.UserProvider |
---|
create, flushCaches, handles, init, list, remove |
Method Detail |
---|
boolean addToGroup(String username, String groupname)
boolean inGroup(String username, String groupname)
List<String> listGroupsContainingUser(String username)
List<String> listUsersInGroup(String groupname)
boolean removeFromGroup(String username, String groupname)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |