Tagged: Java APi, REST API, ssoadm java
This topic has 8 replies, 3 voices, and was last updated 5 years ago by Peter Major.
-
AuthorPosts
-
July 5, 2017 at 11:15 am #17932
egicass
ParticipantHi,
I wasn’t able to find if there’s a way to configure Authentication Chains/Modules via Java using the API’s.
Is it possible? Where I can find examples or specific documentation about this point?Thank you
BR
Giuseppe CassataJuly 5, 2017 at 11:19 am #17933Peter Major
ModeratorUse the new API explorer in AM 5 to find the relevant REST SMS endpoints.
July 5, 2017 at 11:54 am #17934egicass
ParticipantSorry,
Could you explain it better? What is the API explorer? Are there usage examples?
Thank you
BRJuly 5, 2017 at 12:16 pm #17935egicass
ParticipantHi
I’ve found an article about the API Explorer but I got 404 on
/#api/explorer/applicationsBR
Giuseppe CassataJuly 5, 2017 at 2:48 pm #17941Peter Major
ModeratorThe API explorer is only available on AM 5 and newer versions.
July 5, 2017 at 3:33 pm #17942egicass
ParticipantHi
I posted in the wrong forum. I need to know if there is a dedicated API to set Chains/Authentication Modules in OpenAM 13.0.0.
Should I move this post to the right forum?
BRJuly 5, 2017 at 9:49 pm #17949thalmayr.bernhard
Participantthe API to use is SMS API https://backstage.forgerock.com/static/docs/openam/13/apidocs/com/sun/identity/sm/package-frame.html
AFAIK there are no code samples available to handle auth chains or auth module instance configuration.
You could check out OpenAM 13.0.0 upgrade code as there it’s used.
July 6, 2017 at 5:19 pm #17964egicass
ParticipantPlease can you indicate me a class to I can use as reference?
Thanks
BR-
This reply was modified 5 years ago by
egicass.
July 6, 2017 at 9:03 pm #17971Peter Major
ModeratorThe key classes involved with retrieving configuration from SMS are:
ServiceConfigManager
OrganizationConfigManager
ServiceSchemaManagerJust find usages of these classes and you’ll have plenty of example.
-
This reply was modified 5 years ago by
-
AuthorPosts
You must be logged in to reply to this topic.