org.keycloak.services.clientpolicy.executor

## Class SecureSessionEnforceExecutor

- java.lang.Object
- - org.keycloak.services.clientpolicy.executor.SecureSessionEnforceExecutor

- All Implemented Interfaces:
    Provider, ClientPolicyExecutorProvider

      public class SecureSessionEnforceExecutor
      extends Object
      implements ClientPolicyExecutorProvider

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SecureSessionEnforceExecutor(KeycloakSession session, ComponentModel componentModel)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `executeOnEvent(ClientPolicyContext context)` execute actions against the client on the event defined in `ClientPolicyEvent`.
    `String` | `getName()`
    `String` | `getProviderId()`

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

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

    - ### Methods inherited from interface org.keycloak.services.clientpolicy.executor.ClientPolicyExecutorProvider

      `close`

- - ### Constructor Detail

    - #### SecureSessionEnforceExecutor

          public SecureSessionEnforceExecutor(KeycloakSession session,
                                              ComponentModel componentModel)

  - ### Method Detail

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `ClientPolicyExecutorProvider`

    - #### getProviderId

          public String getProviderId()

      Specified by:
        `getProviderId` in interface `ClientPolicyExecutorProvider`

    - #### executeOnEvent

          public void executeOnEvent(ClientPolicyContext context)
                              throws ClientPolicyException

      Description copied from interface: `ClientPolicyExecutorProvider`
      execute actions against the client on the event defined in `ClientPolicyEvent`.
      Specified by:
        `executeOnEvent` in interface `ClientPolicyExecutorProvider`
      Parameters:
        `context` - - the context of the event.
      Throws:
        `ClientPolicyException`

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