| Package | Description |
|---|---|
| org.apache.ambari.server.security.authentication | |
| org.apache.ambari.server.security.authorization | |
| org.apache.ambari.server.security.ldap |
| Constructor and Description |
|---|
AmbariUserDetailsImpl(User user,
String password,
Collection<? extends org.springframework.security.core.GrantedAuthority> grantedAuthorities) |
| Modifier and Type | Method and Description |
|---|---|
User |
Users.getUser(Integer userId) |
User |
Users.getUser(String userName) |
User |
Users.getUser(UserEntity userEntity) |
| Modifier and Type | Method and Description |
|---|---|
List<User> |
Users.getAllUsers() |
Collection<User> |
Users.getGroupMembers(String groupName)
Gets group members.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Users.removeUser(User user)
Removes a user from the Ambari database.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,User> |
AmbariLdapDataPopulator.getInternalMembers(String groupName)
Creates a map of internal users present in specified group.
|
protected Map<String,User> |
AmbariLdapDataPopulator.getInternalUsers()
Creates a map of internal users.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AmbariLdapDataPopulator.refreshGroupMembers(LdapBatchDto batchInfo,
LdapGroupDto group,
Map<String,User> internalUsers,
Map<String,Group> internalGroupsMap,
Set<String> groupMemberAttributes,
boolean recursive,
boolean collectIgnoredUsers)
Check group members of the synced group: add missing ones and remove the ones absent in external LDAP.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.