ssoadm command via Java API o REST API

This topic has 8 replies, 3 voices, and was last updated 5 years ago by Peter Major.

  • Author
    Posts
  • #17932
     egicass
    Participant

    Hi,

    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 Cassata

    #17933
     Peter Major
    Moderator

    Use the new API explorer in AM 5 to find the relevant REST SMS endpoints.

    #17934
     egicass
    Participant

    Sorry,

    Could you explain it better? What is the API explorer? Are there usage examples?
    Thank you
    BR

    #17935
     egicass
    Participant

    Hi

    I’ve found an article about the API Explorer but I got 404 on
    /#api/explorer/applications

    BR
    Giuseppe Cassata

    #17941
     Peter Major
    Moderator

    The API explorer is only available on AM 5 and newer versions.

    #17942
     egicass
    Participant

    Hi

    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?
    BR

    #17949
     thalmayr.bernhard
    Participant

    the 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.

    #17964
     egicass
    Participant

    Please can you indicate me a class to I can use as reference?
    Thanks
    BR

    • This reply was modified 5 years ago by egicass.
    #17971
     Peter Major
    Moderator

    The key classes involved with retrieving configuration from SMS are:
    ServiceConfigManager
    OrganizationConfigManager
    ServiceSchemaManager

    Just find usages of these classes and you’ll have plenty of example.

Viewing 9 posts - 1 through 9 (of 9 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?