org.keycloak.models.utils

## Class DefaultRoles

- java.lang.Object
- - org.keycloak.models.utils.DefaultRoles

-     public class DefaultRoles
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultRoles()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `addDefaultRoles(RealmModel realm, UserModel userModel)`
    `static Stream<RoleModel>` | `getDefaultRoles(RealmModel realm)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultRoles

          public DefaultRoles()

  - ### Method Detail

    - #### getDefaultRoles

          public static Stream<RoleModel> getDefaultRoles(RealmModel realm)

    - #### addDefaultRoles

          public static void addDefaultRoles(RealmModel realm,
                                             UserModel userModel)

Copyright © 2021 JBoss by Red Hat. All rights reserved.