Class UserRoleListEnhancedUserMap
- java.lang.Object
-
- org.pentaho.platform.plugin.services.security.userrole.memory.UserRoleListEnhancedUserMap
-
public class UserRoleListEnhancedUserMap extends Object
-
-
Constructor Summary
Constructors Constructor Description UserRoleListEnhancedUserMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUser(org.springframework.security.core.userdetails.UserDetails user)
String[]
getAllAuthorities()
String[]
getAllUsers()
protected Map<org.springframework.security.core.GrantedAuthority,Set<String>>
getRolesToUsersMap()
int
getUserCount()
Indicates the size of the user map.String[]
getUserNamesInRole(String role)
protected Map<String,org.springframework.security.core.userdetails.UserDetails>
getUserRoleListEnhanceduserMap()
void
setUsers(Map users)
-
-
-
Method Detail
-
addUser
public void addUser(org.springframework.security.core.userdetails.UserDetails user) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
getAllAuthorities
public String[] getAllAuthorities()
-
getAllUsers
public String[] getAllUsers()
-
setUsers
public void setUsers(Map users)
-
getUserCount
public int getUserCount()
Indicates the size of the user map.- Returns:
- the number of users in the map
-
getUserRoleListEnhanceduserMap
protected Map<String,org.springframework.security.core.userdetails.UserDetails> getUserRoleListEnhanceduserMap()
-
-