|
keycloak
|


公開メンバ関数 | |
| RoleByIdResource (RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) | |
| RoleRepresentation | getRole (final @PathParam("role-id") String id) |
| void | deleteRole (final @PathParam("role-id") String id) |
| void | updateRole (final @PathParam("role-id") String id, final RoleRepresentation rep) |
| void | addComposites (final @PathParam("role-id") String id, List< RoleRepresentation > roles) |
| Set< RoleRepresentation > | getRoleComposites (final @PathParam("role-id") String id) |
| Set< RoleRepresentation > | getRealmRoleComposites (final @PathParam("role-id") String id) |
| Set< RoleRepresentation > | getClientRoleComposites (final @PathParam("role-id") String id, final @PathParam("client") String client) |
| void | deleteComposites (final @PathParam("role-id") String id, List< RoleRepresentation > roles) |
| ManagementPermissionReference | getManagementPermissions (final @PathParam("role-id") String id) |
| ManagementPermissionReference | setManagementPermissionsEnabled (final @PathParam("role-id") String id, ManagementPermissionReference ref) |
静的公開メンバ関数 | |
| static ManagementPermissionReference | toMgmtRef (RoleModel role, AdminPermissionManagement permissions) |
限定公開メンバ関数 | |
| RoleModel | getRoleModel (String id) |
| RoleRepresentation | getRole (RoleModel roleModel) |
| void | deleteRole (RoleModel role) |
| void | updateRole (RoleRepresentation rep, RoleModel role) |
| void | addComposites (AdminPermissionEvaluator auth, AdminEventBuilder adminEvent, UriInfo uriInfo, List< RoleRepresentation > roles, RoleModel role) |
| Set< RoleRepresentation > | getRoleComposites (RoleModel role) |
| Set< RoleRepresentation > | getRealmRoleComposites (RoleModel role) |
| Set< RoleRepresentation > | getClientRoleComposites (ClientModel app, RoleModel role) |
| void | deleteComposites (AdminEventBuilder adminEvent, UriInfo uriInfo, List< RoleRepresentation > roles, RoleModel role) |
静的限定公開変数類 | |
| static final Logger | logger = Logger.getLogger(RoleByIdResource.class) |
非公開変数類 | |
| final RealmModel | realm |
| AdminPermissionEvaluator | auth |
| AdminEventBuilder | adminEvent |
| KeycloakSession | session |
Sometimes its easier to just interact with roles by their ID instead of container/role-name
Roles (by ID)
|
inline |
|
inlineprotectedinherited |
|
inline |
Make the role a composite role by associating some child roles
| id | |
| roles |
|
inlineprotectedinherited |
|
inline |
Remove a set of roles from the role's composite
| id | Role id |
| roles | A set of roles to be removed |
|
inlineprotectedinherited |
|
inline |
Delete the role
| id | id of role |
|
inlineprotectedinherited |
|
inline |
Get client-level roles for the client that are in the role's composite
| id | |
| client |
|
inline |
Return object stating whether role Authoirzation permissions have been initialized or not and a reference
| id |
|
inlineprotectedinherited |
|
inline |
Get realm-level roles that are in the role's composite
| id |
|
inlineprotectedinherited |
|
inline |
Get a specific role's representation
| id | id of role |
|
inlineprotectedinherited |
|
inline |
Get role's children
Returns a set of role's children provided the role is a composite.
| id |
|
inlineprotected |
|
inline |
Return object stating whether role Authoirzation permissions have been initialized or not and a reference
| id |
|
inlinestatic |
|
inlineprotectedinherited |
|
inline |
Update the role
| id | id of role |
| rep |
|
private |
|
private |
|
staticprotected |
|
private |
|
private |
1.8.13