## Uses of Class
org.keycloak.services.clientpolicy.ClientPolicyException

- Packages that use ClientPolicyException
  Package | Description
  --- | ---
  org.keycloak.services.clientpolicy |
  org.keycloak.services.clientpolicy.condition |
  org.keycloak.services.clientpolicy.executor |

- - ### Uses of ClientPolicyException in org.keycloak.services.clientpolicy

    Methods in org.keycloak.services.clientpolicy that throw ClientPolicyException
    Modifier and Type | Method and Description
    --- | ---
    `static String` | ClientPoliciesUtil.`convertClientPoliciesRepresentationToJson(ClientPoliciesRepresentation reps)` convert client policies as representation to json.
    `static String` | ClientPoliciesUtil.`convertClientProfilesRepresentationToJson(ClientProfilesRepresentation reps)` convert client profiles as representation to json.
    `static ClientPoliciesRepresentation` | ClientPoliciesUtil.`getClientPoliciesRepresentation(KeycloakSession session, RealmModel realm)` get existing client policies in a realm as representation.
    `static ClientProfilesRepresentation` | ClientPoliciesUtil.`getClientProfilesRepresentation(KeycloakSession session, RealmModel realm)` gets existing client profiles in a realm as representation.
    `static ClientPoliciesRepresentation` | ClientPoliciesUtil.`getValidatedBuiltinClientPoliciesRepresentation(KeycloakSession session, InputStream is)` get validated and modified builtin client policies set on keycloak app as representation.
    `static ClientProfilesRepresentation` | ClientPoliciesUtil.`getValidatedBuiltinClientProfilesRepresentation(KeycloakSession session, InputStream is)` get validated and modified builtin client profiles set on keycloak app as representation.
    `static String` | ClientPoliciesUtil.`getValidatedClientPoliciesJson(KeycloakSession session, RealmModel realm, ClientPoliciesRepresentation proposedPoliciesRep)` get validated and modified client policies as json.
    `static ClientPoliciesRepresentation` | ClientPoliciesUtil.`getValidatedClientPoliciesRepresentation(KeycloakSession session, RealmModel realm, String policiesJson)` get validated and modified builtin client policies in a realm as representation.
    `static String` | ClientPoliciesUtil.`getValidatedClientProfilesJson(KeycloakSession session, RealmModel realm, ClientProfilesRepresentation proposedProfilesRep)` get validated and modified client profiles as json.
    `static ClientProfilesRepresentation` | ClientPoliciesUtil.`getValidatedClientProfilesRepresentation(KeycloakSession session, RealmModel realm, String profilesJson)` get validated and modified builtin client profiles in a realm as representation.
    `void` | ClientPolicyManager.`triggerOnEvent(ClientPolicyContext context)` execute a method for handling an event defined in `ClientPolicyEvent`.
    `void` | DefaultClientPolicyManager.`triggerOnEvent(ClientPolicyContext context)`
    `void` | ClientPolicyManager.`updateClientPolicies(RealmModel realm, String json)` when updating client policies via Admin REST API, reads the json representation of the client policies and overrides the existing client policies set on the realm with them.
    `void` | DefaultClientPolicyManager.`updateClientPolicies(RealmModel realm, String json)`
    `void` | ClientPolicyManager.`updateClientProfiles(RealmModel realm, String json)` when updating client profiles via Admin REST API, reads the json representation of the client profiles and overrides the existing client profiles set on the realm with them.
    `void` | DefaultClientPolicyManager.`updateClientProfiles(RealmModel realm, String json)`

  - ### Uses of ClientPolicyException in org.keycloak.services.clientpolicy.condition

    Methods in org.keycloak.services.clientpolicy.condition that throw ClientPolicyException
    Modifier and Type | Method and Description
    --- | ---
    `default ClientPolicyVote` | ClientPolicyConditionProvider.`applyPolicy(ClientPolicyContext context)` returns ABSTAIN if this condition is not evaluated due to its nature.
    `ClientPolicyVote` | ClientUpdateSourceRolesCondition.`applyPolicy(ClientPolicyContext context)`
    `ClientPolicyVote` | ClientUpdateSourceHostsCondition.`applyPolicy(ClientPolicyContext context)`
    `ClientPolicyVote` | ClientUpdateSourceGroupsCondition.`applyPolicy(ClientPolicyContext context)`
    `ClientPolicyVote` | ClientUpdateContextCondition.`applyPolicy(ClientPolicyContext context)`
    `ClientPolicyVote` | ClientScopesCondition.`applyPolicy(ClientPolicyContext context)`
    `ClientPolicyVote` | ClientRolesCondition.`applyPolicy(ClientPolicyContext context)`
    `ClientPolicyVote` | ClientAccessTypeCondition.`applyPolicy(ClientPolicyContext context)`
    `ClientPolicyVote` | AnyClientCondition.`applyPolicy(ClientPolicyContext context)`

  - ### Uses of ClientPolicyException in org.keycloak.services.clientpolicy.executor

    Methods in org.keycloak.services.clientpolicy.executor that throw ClientPolicyException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ConsentRequiredExecutor.`beforeUpdate(ClientModel clientToBeUpdated, ClientRepresentation proposedClient)`
    `void` | SecureResponseTypeExecutor.`executeOnAuthorizationRequest(OIDCResponseType parsedResponseType, AuthorizationEndpointRequest request, String redirectUri)`
    `default void` | ClientPolicyExecutorProvider.`executeOnEvent(ClientPolicyContext context)` execute actions against the client on the event defined in `ClientPolicyEvent`.
    `void` | SecureSigningAlgorithmForSignedJwtEnforceExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | SecureSigningAlgorithmEnforceExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | SecureSessionEnforceExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | SecureResponseTypeExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | SecureRequestObjectExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | SecureRedirectUriEnforceExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | SecureClientAuthEnforceExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | PKCEEnforceExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | HolderOfKeyEnforceExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | ConsentRequiredExecutor.`executeOnEvent(ClientPolicyContext context)`
    `void` | ConfidentialClientAcceptExecutor.`executeOnEvent(ClientPolicyContext context)`

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