| Package | Description |
|---|---|
| org.apache.ambari.server.orm.dao | |
| org.apache.ambari.server.orm.entities | |
| org.apache.ambari.server.upgrade |
| Modifier and Type | Method and Description |
|---|---|
RoleAuthorizationEntity |
RoleAuthorizationDAO.findById(String id)
Find a authorization entity with the given id.
|
RoleAuthorizationEntity |
RoleAuthorizationDAO.merge(RoleAuthorizationEntity roleAuthorizationEntity)
Create or updates a role authorization.
|
| Modifier and Type | Method and Description |
|---|---|
List<RoleAuthorizationEntity> |
RoleAuthorizationDAO.findAll()
Find all authorization entities.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RoleAuthorizationDAO.create(RoleAuthorizationEntity roleAuthorizationEntity)
Create a new role authorization.
|
RoleAuthorizationEntity |
RoleAuthorizationDAO.merge(RoleAuthorizationEntity roleAuthorizationEntity)
Create or updates a role authorization.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<RoleAuthorizationEntity> |
PermissionEntity.getAuthorizations()
Gets the collection of granular authorizations for this PermissionEntity
|
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionEntity.addAuthorization(RoleAuthorizationEntity roleAuthorization)
Add roleAuthorization if it's not already added
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractUpgradeCatalog.addAuthorizationToRole(String roleName,
String resourceType,
RoleAuthorizationEntity roleAuthorization)
Add a new authorization to the set of authorizations for a role
|
Copyright © 2022 Apache Software Foundation. All rights reserved.