opensso
  1. opensso
  2. OPENSSO-6184

Login issue with 2 OpenAM instances using the OpenAM java SDK API

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      We have 2 OpenAM instances deployed on 2 JBoss servers (jboss-5.1.0.GA), and 1 desktop app client (using OpenAM Java SDK) connecting to these servers. The current issue that we are facing is as following:
      + step 1: from the client, connect to the 1st server -> successfully
      + step 2: logout the server, but do not close the client app
      + step 3: continue to use this client to login to the 2nd server
      ==> problem here: authentication phase is done successfully, however we cannot retrieve the SSO token via AuthContext object
      (Note that we would still be able to login and retrieve token on the 1st server at this time)

        • Our sample code to retrieve SSO token:
          ......
          if (status.equals(AuthContext.Status.SUCCESS)) { String ssoToken = authenContext.getSSOToken().getTokenID().toString(); return new SsoResult(status, ssoToken, this); }

      NOTE: If after each logging out of a server, we completely close the desktop app client and then re-open it to access another server, problem will not happen.

      We also attached here the stacktrace for your reference.

      Thank you!

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            quitefire
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 2 days
              2d
              Remaining:
              Remaining Estimate - 2 days
              2d
              Logged:
              Time Spent - Not Specified
              Not Specified