Class KCRolesController


  • public class KCRolesController
    extends Object
    • Constructor Detail

      • KCRolesController

        public KCRolesController()
    • Method Detail

      • formatRepr

        public static Object formatRepr​(org.keycloak.representations.idm.RoleRepresentation role,
                                        KCRolesController.REPR format)
      • getRolesForContext

        public static List<org.keycloak.representations.idm.RoleRepresentation> getRolesForContext()
      • getRolesForContext

        public static List<org.keycloak.representations.idm.RoleRepresentation> getRolesForContext​(Boolean compact)
      • getRoleByNameCurrent

        public static org.keycloak.representations.idm.RoleRepresentation getRoleByNameCurrent​(String name)
      • getUsersByRoleForContext

        public static List<org.keycloak.representations.idm.UserRepresentation> getUsersByRoleForContext​(String role_name)
      • getUsersByRoleForContext

        public static List<org.keycloak.representations.idm.UserRepresentation> getUsersByRoleForContext​(String role_name,
                                                                                                         Integer firstResult,
                                                                                                         Integer maxResults)