This topic has 0 replies, 1 voice, and was last updated 9 months, 2 weeks ago by ray.deng83.

  • Author
    Posts
  • #26971
     ray.deng83
    Participant

    Hi Folks,

    I’m developing a custom STS validator in OpenAM. I implemented org.forgerock.openam.sts.rest.token.validator.RestTokenTransformValidator class and the validateToken method as indicated by the documentation (https://backstage.forgerock.com/docs/openam/13.5/dev-guide/#sts-consume-rest-custom-using) and successfully compiled and deployed the jar file in tomcat.

    The problem right now is that the validateToken method is supposed to return a org.forgerock.openam.sts.rest.token.validator.RestTokenTransformValidatorResult object, which takes a AMSessionId as a parameter. Suppose I pass the username and password in the request to the custom sts service and I can extract that username and password in the validateToken method, is it possible I use that username/password to create an AM session? I couldn’t find any documentation or example on that. If anyone can give some advice, I’ll definitely appreciate that. Thanks.

    Best,
    Le

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2020 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?