Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
5 replies Latest Post - ‏2012-09-14T15:46:24Z by SystemAdmin
SystemAdmin
SystemAdmin
2327 Posts
ACCEPTED ANSWER

Pinned topic New tech doc details 5.0.0.3 authentication framework enhancements

‏2012-08-30T14:02:26Z |
IBM Worklight 5.0.0.3 has many improvements in the authentication framework. In order for existing projects to continue functioning, Worklight Studio will automatically upgrade them to comply with 5.0.0.3. A new tech doc is available that explains the enhancements and the automatic upgrades.
IBM Worklight Project Auto-upgrade to 5.0.0.3 Authentication Model
http://www-01.ibm.com/support/docview.wss?uid=swg27036063
Barbara Hampson, Manager, IBM Worklight
  • SystemAdmin
    SystemAdmin
    2327 Posts
    ACCEPTED ANSWER

    Re: New tech doc details 5.0.0.3 authentication framework enhancements

    ‏2012-09-13T17:48:18Z  in response to SystemAdmin
    Hi Barbara

    Need your help for this issue I am facing. Please help:
    https://www.ibm.com/developerworks/forums/thread.jspa?threadID=455351&tstart=0

    How to Access UserIdentity in MyCustomAuthenticator.changeResponseOnSuccess?
    The getRequestToProceed(HttpServletRequest request, HttpServletResponse response, UserIdentity userIdentity) is deprecated since Worklight V5.0.0.3. But how to access UserIdentity in new API changeResponseOnSuccess(HttpServletRequest request, HttpServletResponse response)?
    Need to construct new response but the updated information is in UserIdentity's customAttributes. But how to get this object?
    • SystemAdmin
      SystemAdmin
      2327 Posts
      ACCEPTED ANSWER

      Re: New tech doc details 5.0.0.3 authentication framework enhancements

      ‏2012-09-13T19:05:01Z  in response to SystemAdmin
      Jerry,

      You'll see Christian replied to your post.

      Barbara Hampson, Manager, IBM Worklight
      • SystemAdmin
        SystemAdmin
        2327 Posts
        ACCEPTED ANSWER

        Re: New tech doc details 5.0.0.3 authentication framework enhancements

        ‏2012-09-14T14:08:18Z  in response to SystemAdmin
        Thanks, Barbara

        The reply sample is shown in server side JavaScript that is used in adapters. But in Java code, how to do that?

        Jerry
        • SystemAdmin
          SystemAdmin
          2327 Posts
          ACCEPTED ANSWER

          Re: New tech doc details 5.0.0.3 authentication framework enhancements

          ‏2012-09-14T14:38:33Z  in response to SystemAdmin
          Jerry,

          If you don't mind, let's continue working your issue via your original post where the developers are already assisting. The technical team will be much more helpful on these issues than me and that way we don't have two threads going on the same topic. Thanks.

          Barbara Hampson, Manager, IBM Worklight
          • SystemAdmin
            SystemAdmin
            2327 Posts
            ACCEPTED ANSWER

            Re: New tech doc details 5.0.0.3 authentication framework enhancements

            ‏2012-09-14T15:46:24Z  in response to SystemAdmin
            No problem. Already updated the question with more context