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.