Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1039

If C Agent Policy Client Service - Realm does not have a slash at the start the realm value is not understood by the C Agent

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.0.0.0
    • None
    • Web Agents
    • Set up OpenAM 14.5.0 (we used nightly - 8th September 2017) with C Agent 5.0.0 (we used nightly 8th September 2017)

    Description

      With C Agent 5.0.0, when we enter the Policy Client Service Realm to a subrealm without putting a slash before the Realm then the C agent does not understand it. With the Java Agent the agent assumes that the slash is meant to be there and acts as though it is.

      Procedure to recreate

      Set up OpenAM 14.5.0 (we used nightly - 8th September 2017) with C Agent 5.0.0 (we used nightly 8th September 2017)

      A) Create a realm called say "TestRealm"
      B) Create a policy in realm "TestRealm" which allows access to a page say "http://agent.example.com/index.html"
      C) In the Agent Configuration Go to OpenAM Services - Policy Client Service - Realm and set to "TestRealm"

      D) Attempt to access the resources as a user

      Expected Result
      We get allowed Access
      Actual Result
      We do not get allowed access Access to the resource

      Note with Java Agent 5.0.0 we get allowed access and with C agent we do not get allowed access

      Although there should be a "/" before the realm the question is whether the c agent should automatically add the "/"

      If not it would be nice to have some information about the expected format - so give several examples say ("/", "/realm1", "/realm1/realm2"). See attached Image.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              edward.barker edwardb
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: