Package | Description |
---|---|
org.apache.ambari.server.orm.dao | |
org.apache.ambari.server.orm.entities | |
org.apache.ambari.server.security.authorization |
Modifier and Type | Method and Description |
---|---|
RoleEntity |
RoleDAO.findByName(String roleName) |
RoleEntity |
RoleDAO.merge(RoleEntity role) |
Modifier and Type | Method and Description |
---|---|
List<RoleEntity> |
RoleDAO.findAll() |
Modifier and Type | Method and Description |
---|---|
void |
RoleDAO.create(RoleEntity role) |
List<UserEntity> |
UserDAO.findAllLocalUsersByRole(RoleEntity roleEntity) |
RoleEntity |
RoleDAO.merge(RoleEntity role) |
void |
RoleDAO.remove(RoleEntity role) |
Modifier and Type | Method and Description |
---|---|
Set<RoleEntity> |
UserEntity.getRoleEntities() |
Modifier and Type | Method and Description |
---|---|
void |
UserEntity.setRoleEntities(Set<RoleEntity> roleEntities) |
Modifier and Type | Method and Description |
---|---|
Collection<org.springframework.security.core.GrantedAuthority> |
AuthorizationHelper.convertRolesToAuthorities(Collection<RoleEntity> roleEntities)
Converts collection of RoleEntities to collection of GrantedAuthorities
|
Copyright © 2014. All rights reserved.