org.keycloak.services.clientpolicy

## Class ClientPoliciesUtil

- java.lang.Object
- - org.keycloak.services.clientpolicy.ClientPoliciesUtil

-     public class ClientPoliciesUtil
      extends Object

  Utilities for treating client policies/profiles
  Author:
    Takashi Norimatsu

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientPoliciesUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `convertClientPoliciesRepresentationToJson(ClientPoliciesRepresentation reps)` convert client policies as representation to json.
    `static String` | `convertClientProfilesRepresentationToJson(ClientProfilesRepresentation reps)` convert client profiles as representation to json.

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

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

- - ### Constructor Detail

    - #### ClientPoliciesUtil

          public ClientPoliciesUtil()

  - ### Method Detail

    - #### convertClientProfilesRepresentationToJson

          public static String convertClientProfilesRepresentationToJson(ClientProfilesRepresentation reps)
                                                                  throws ClientPolicyException

      convert client profiles as representation to json. can return null.
      Throws:
        `ClientPolicyException`

    - #### convertClientPoliciesRepresentationToJson

          public static String convertClientPoliciesRepresentationToJson(ClientPoliciesRepresentation reps)
                                                                  throws ClientPolicyException

      convert client policies as representation to json. can return null.
      Throws:
        `ClientPolicyException`

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