0 Replies Latest reply on Jul 14, 2011 3:41 PM by Sahir Maredia

    OAuth2 Authentication Module

    Sahir Maredia Newbie

      Hi everyone,

         I am pretty new to ejb and jboss server. I am trying to authenticate the users by allowing then to  use  their facebook, google or yahoo account. FOr doing this I am making use of scribe java library. I have successfully authenticated them by using servlets.

       

      Now I require to set their principal and roles so that it gets linked with jaas and my ejb security can be used. I searched on the net and also referred the JAAS articles on the oracle site but i am not able to achieve this.

       

      Can anyone help me out to achieve this?

       

      thanks.