org.keycloak.adapters

## Class AdapterUtils

- java.lang.Object
- - org.keycloak.adapters.AdapterUtils

-     public class AdapterUtils
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AdapterUtils()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getOrigin(String browserRequestURL, KeycloakSecurityContext session)`
    `static String` | `getPrincipalName(KeycloakDeployment deployment, AccessToken token)`
    `static Set<String>` | `getRolesFromSecurityContext(RefreshableKeycloakSecurityContext session)`

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

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

- - ### Constructor Detail

    - #### AdapterUtils

          public AdapterUtils()

  - ### Method Detail

    - #### getOrigin

          public static String getOrigin(String browserRequestURL,
                         KeycloakSecurityContext session)

    - #### getRolesFromSecurityContext

          public static Set<String> getRolesFromSecurityContext(RefreshableKeycloakSecurityContext session)

    - #### getPrincipalName

          public static String getPrincipalName(KeycloakDeployment deployment,
                                AccessToken token)

Copyright © 2014. All Rights Reserved.