• Post Reply Bookmark Topic Watch Topic
  • New Topic

Finding Whether a user is logged in or no  RSS feed

 
Harjit Singh
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I have 3 sites- Site A,siteB and AW site, which is the authentication site. Site A and SiteB are trusted sites. Let say when a user logs in to site A. he is re-directed back to site A and then does his work. Now when He clicks on Site B, there will be token passed to site B now before he can access the resource, he will be re-directed to AW site where the AW site has to determine is a user is logged or no.

How can I determine that ?

Thanks

- Harjit
 
Brian Wheeler
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
create sessions
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Brian Wheeler wrote:create sessions

Session are created automatically by the container. Does your answer have more substance that that?
 
Brian Wheeler
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:
Brian Wheeler wrote:create sessions

Session are created automatically by the container. Does your answer have more substance that that?
no mr officer, im new to jsp myself. Im no pro but in php I would approach this problem with creating and destroying sessions.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where the AW site has to determine is a user is logged or no.
How can I determine that ?


You can pass some Hidden Parameters or Appending some data to URL or by using HttpClient for passing Information from one website to another .

Thanks .
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have Do-It-Yourself security, you're on your own.

If the apps are written to use J2EE's standard container security system, all you need is a single signon security provider such as CAS.
 
Harjit Singh
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for all your tips. It has helped me a lot to understand how we can do things.

- Harjit
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!