-
1. Re: JBOSS seam authentication on clicking a link
vata2999 Jun 15, 2015 9:42 AM (in response to naresh_bahety)generally speaking, you can invoke authenticate method as follow
Identity identity = Identity.instance();
identity.getCredentials().setUsername(username);
identity.getCredentials().setPassword(userpass);
identity.authenticate();
but check this out
-
2. Re: JBOSS seam authentication on clicking a link
naresh_bahety Jun 15, 2015 10:04 AM (in response to vata2999)But problem is I am having two applications , one is in jboss seam and another one is in spring if user is on spring application and clicked on a link then on jboss seam application ,I need to pass user name(no password) of jboss seam application and need to invoke authenticate method jboss seam application on clicking of spring application .
Hope you understand the problem .
Thanks
-
3. Re: JBOSS seam authentication on clicking a link
vata2999 Jun 16, 2015 12:40 AM (in response to naresh_bahety)It can be done by using Seam REST authentication style as I mentioned earlier however, I have no idea how authentication can be done without password. I think you need to reconsider this scenario. a simple case would be for example each click from Spring application send you a token for each user then try to authenticate with this token.
-
4. Re: JBOSS seam authentication on clicking a link
manarh Jun 19, 2015 5:10 AM (in response to naresh_bahety)You need to use different way - OpenId provider Chapter 16. Security or better a Single Sign On (SSO) service for both applications.