org.keycloak.services.clientpolicy

## Class DefaultClientPolicyManager

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

- All Implemented Interfaces:
    ClientPolicyManager

      public class DefaultClientPolicyManager
      extends Object
      implements ClientPolicyManager

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultClientPolicyManager(KeycloakSession session)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `triggerOnEvent(ClientPolicyContext context)` execute a method for handling an event defined in `ClientPolicyEvent`.

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

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

- - ### Constructor Detail

    - #### DefaultClientPolicyManager

          public DefaultClientPolicyManager(KeycloakSession session)

  - ### Method Detail

    - #### triggerOnEvent

          public void triggerOnEvent(ClientPolicyContext context)
                              throws ClientPolicyException

      Description copied from interface: `ClientPolicyManager`
      execute a method for handling an event defined in `ClientPolicyEvent`.
      Specified by:
        `triggerOnEvent` in interface `ClientPolicyManager`
      Parameters:
        `context` - - the context of the event.
      Throws:
        `ClientPolicyException`

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