OpenIG protecting OpenIDM 3.1

This topic has 1 reply, 1 voice, and was last updated 6 years, 2 months ago by Rogerio Rondini.

  • Author
    Posts
  • #4764
     Rogerio Rondini
    Participant

    Hi all,

    There is possible to use OpenIG + OpenAM Policy Agent to protect OpenIDM 3.1 ?

    I know the OpenIDM 3.1 has OPENAM_SESSION module, but the sample did some change in the OpenIDM UI to use a custom endpoint to call OpenAM REST.

    At this moment, I want to avoid changes in UI.

    Abs.
    Rogerio Rondini

    #4899
     Rogerio Rondini
    Participant

    Just done!!!

    Using Password Replay + ScriptableFilter with code like below..

    def Request req = new Request()
    req.getHeaders().add(“X-OpenIDM-Username”, exchange.request.headers[‘username’][0])
    req.getHeaders().add(“X-OpenIDM-Password”, exchange.request.headers[‘password’][0])
    req.setMethod(“GET”)

    req.setUri(“https://localhost:8080/openidm/info/login”)

    def HttpClient httpClient = new HttpClient(new TemporaryStorage())
    exchange.response = httpClient.execute(req)

    next.handle(exchange)

    Abs..

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?