0 Replies Latest reply on Jun 6, 2012 12:56 PM by Gustavo Mendes

    Getting clustered SSO credentials

    Gustavo Mendes Newbie



          I have a cluster of two JBoss 5.1.0. I configured the Clustered SSO valve and it works fine with the applications that configures JAAS on web.xml. The problem is that one application use the line below to get the remote user login, but when the request is sent to a node that has not the JSESSIONID to that application this method returns null:


      String login = FacesContext.getCurrentInstance().getExternalContext().getRemoteUser();


      How can I solve this problem? It that a way to get the remote user credentials using some JBoss api?