help with logic in web service and form

Tagged: 

This topic has 3 replies, 4 voices, and was last updated 6 years ago by Exploring_Singh.

  • Author
    Posts
  • #6682
     dokannon
    Participant

    hi everyone , i am new in this of OIM , and i have to make a Form and this pass the values to a client of a external web service

    What are the correct steps to do this???? am try with the oracle´s documentation but i cannot undertand connector very well yet , any help is wellcome.

    Thankz in advance and sorry about my english

    #6688
     Mike Jang
    Spectator

    Hi dokannon,

    I presume you’re working with OpenIDM. Can you tell us more about what you’re trying to do? What version of OpenIDM are you working with, and what connector are you using?

    For more information, you can start with our documentation. Navigate to https://forgerock.org/openidm/#practical-bits , and under “Resources”, go through either our:
    Release Documentation (for our released versions of OpenIDM, through 3.1)
    Draft Documentation (for our versions of OpenIDM in progress)

    Thanks,
    Mike

    • This reply was modified 6 years, 7 months ago by Mike Jang.
    #7751
     ipulkit
    Participant

    I feel the industry relates OIM with the Oracle counterpart. I would suggest you use the terms carefully to avoid confusion.

    The Activiti BPMN makes possible your requirement in a number of ways, there are two I can think of:

    1) Use the Activiti Web-service Task to interface with a web service.
    2) Cook up a client that interacts with the web service, package it as OSGi bundle and deploy it in the openidm/bundle directory and then invoke it using the Activiti Java Task.

    The second option is easier I feel, if you are new to the BPMN language.

    For your forms, Activiti allows you to declare fields and their types using builtin tags that you may use or include a form made in another technology (xhtml, etc).

    #12334
     Exploring_Singh
    Participant

    Hi All,
    I am new to Forgerock and facing one problem in authentication. When hitting the http://localhost:8080/openam/json/authenticate using postman , Its returns me the token id and success URL :
    {
    “tokenId”: “AQIC5wM2LY4Sfcylxw9On_6SjJKF8j82g-TfLos2HEaf-Q4.*AAJTSQACMDEAAlNLABMxNTEyODI0Mzg3MDQ5MjI4NTYyAAJTMQAA*”,
    “successUrl”: “/openam/console”
    }
    But when i consume this rest API through Java Code, I get auth id as :
    {“authId”:”eyAidHlwIjogIkpXVCIsICJhbGciOiAiSFMyNTYiIH0.eyAib3RrIjogImNlYXI5Y2Q3a2ptdWIyczgyajU2NDFiMDEzIiwgInJlYWxtIjogImRjPW9wZW5hbSxkYz1mb3JnZXJvY2ssZGM9b3JnIiwgInNlc3Npb25JZCI6ICJBUUlDNXdNMkxZNFNmY3owazFfRjZQcl94enk4cjJTNVFQN290LUxqU19RWWdRQS4qQUFKVFNRQUNNREVBQWxOTEFCUXROamN6TmpRNE1EYzVNalF4T0RVNU1UVXpNZ0FDVXpFQUFBLi4qIiB9.ZqD3bOuEpjAfKfqi4UcojqZClrMaFrHlV4w8bKBmeCE”,”template”:””,”stage”:”DataStore1″,”header”:”Sign in to OpenAM”,”callbacks”:[{“type”:”NameCallback”,”output”:[{“name”:”prompt”,”value”:”User Name:”}],”input”:[{“name”:”IDToken1″,”value”:””}]},{“type”:”PasswordCallback”,”output”:[{“name”:”prompt”,”value”:”Password:”}],”input”:[{“name”:”IDToken2″,”value”:””}]}]}

    Why I am not able to authenticate the user through my web application. I need help please…

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

You must be logged in to reply to this topic.

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