Announcement Announcement Module
Collapse
No announcement yet.
How to check if a user has a valid SSO session with the idp? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to check if a user has a valid SSO session with the idp?

    We have an application using Spring Security SAML 1.0.0.RC2. The application is using SSO with some other applications.

    If possible, we would like to let users who is logged into some of the other applications right into the application by let the frontpage of the application be a page customized for the person who is logged in.

    For those who is not logged into some of the other applications the frontpage should show some info about the app and a loginbutton which takes them to the loginpage of the idp.

    I have tried to check the authentication object I get from

    Authentication authentication = SecurityContextHolder.getContext().getAuthenticati on();

    but this only shows users as logged in if they are authenticated in _this_ application, not if they have a valid SSO authentication session with the idp.

    Any ideas?


    -Kaj
Working...
X