Skip to content

dushansilva/wso2apim-cache-revocation-listener

Repository files navigation

  1. After building the project the listener jar should be copied to <ISKM_HOME>/repository/components/dropins

  2. The following configuration should be added to <ISKM_HOME>/repository/conf/identity/identity.xml under tag

<EventListeners>
......
<EventListener type="org.wso2.carbon.identity.oauth.event.OAuthEventInterceptor"
                       name="<event listener class with package name>"
                       orderId="11" enable="true" />                    
........    
</EventListeners>

 

For example for the sample provided 

<EventListeners>
.......
<EventListener type="org.wso2.carbon.identity.oauth.event.OAuthEventInterceptor"
                       name="org.wso2.revocation.RevocationListener"
                       orderId="11" enable="true" />                    
........    
</EventListeners>
  1. Edit the <ISKM_HOME>/repository/conf/api-manager.xml APIGateway Environment this url should contain the server url of your Gateway.
    <APIGateway>
        <Environments>

            <Environment ....>
             ........
                <ServerURL>https://<GATEWAY_IP>/services/</ServerURL>
             ..........
            </Environment>

        </Environments>
    </APIGateway>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages