1 Reply Latest reply on Jul 16, 2008 2:46 PM by Sohil Shah

    authentication issue ?

    Martin Schubert Newbie

      I've configured JOSSO authentication on my 4.2.2.GA portal bundle according to the guide at http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/sso.html.
      Logging in works as expected the 'portlet security' however seems to be broken e.g. even if logged in as admin the admin portlet is not accessible.
      I've created a small portlet to print out some PortletRequest properties like
      AuthType, RemoteUser, UserPrincipal and isUserInRole the output is:

      auth type:JOSSO
      remote user:admin
      user principal:admin
      role 'Admin' ?:true
      role 'User' ?:false

      After days of time wasted on debugging I've read something at http://jira.jboss.org/jira/browse/JBPORTAL-1751?decorator=printable implying problems if you are not using the default login method.

      My understanding is of this issue is very limited so if someone could explain me why portlets restricted to the admin role are not visible even if a user is logged in via josso with the admin role assigned I'd be very gratefull !

      Thank you,

        • 1. Re: authentication issue ?
          Sohil Shah Master


          Couple of things you want to check:
          The version of JOSSO supported by Portal today is 1.5. I believe there is a 1.7 out and this is not integrated yet.

          Also, back when 1.5 was released, it did not support JBoss 4.2. It had support for JBoss 4.0 only and the actual version I tested on was JBoss 4.0.5.

          So with this information in mind, here is what I suggest you try since thats what I have on my end and cannot reproduce your issue:

          1/ Use JOSSO 1.5
          2/ Use JBoss 4.0.5.
          3/ Use JBoss Portal 2.6.3 (this is what I tested). but I think even 2.6.4, and 2.6.5 should work as well since nothing from JOSSO standpoint has changed in those.

          I am going to test 2.6.4 and 2.6.5 on my end to confirm, but 2.6.3 works for sure.

          Let me know if you still have these issues with JOSSO/Portal.