keycloak
|
静的公開メンバ関数 | |
static boolean | isMember (Set< GroupModel > groups, GroupModel targetGroup) |
static boolean | hasRole (Set< RoleModel > roles, RoleModel targetRole) |
static boolean | hasRoleFromGroup (GroupModel group, RoleModel targetRole, boolean checkParentGroup) |
static boolean | hasRoleFromGroup (Iterable< GroupModel > groups, RoleModel targetRole, boolean checkParentGroup) |
static Stream< RoleModel > | expandCompositeRolesStream (RoleModel role) |
|
inlinestatic |
Recursively expands composite roles into their composite.
role |
|
inlinestatic |
Checks whether the
is contained in the given group or its parents (if requested)
group | Group to check role for |
targetRole | |
checkParentGroup | When true |
|
inlinestatic |
Checks whether the
is contained in any of the
or their parents (if requested)
groups | |
targetRole | |
checkParentGroup | When true |
|
inlinestatic |
groups | |
targetGroup |