Single Sign On without cookies in Java

前端 未结 2 2011
-上瘾入骨i
-上瘾入骨i 2021-01-13 06:41

I keep on facing this question from my manager how SSO will work if client disable cookies but I don\'t have any answer. We are currently using JOSSO for single sign on. Do

2条回答
  •  没有蜡笔的小新
    2021-01-13 07:26

    The CAS project passes a "ticket" from the sign on server to the consuming application as a url query parameter, the consuming app then makes a back channel request back to the sign on server to validate the ticket's authenticity. This negates the need for cookies and therefore works across domains however it is a bit "chatty"

    Another arguably more robust solution is to use a product based on SAML which is an industry standard for cross domain single sign on. There are a couple of open source products out there which use SAML and CAS itself has a SAML extension however they are typically quite complex to setup. Cloudseal is also based on SAML and is much simpler to use. The Cloudseal platform itself is delivered as a managed service but all the client libraries are open source

    Of course with all these solutions you are simply passing a security context from one server to another, the consuming application will no doubt create it's own local session so you would then need to use URL rewriting instead of cookies

    Disclaimer: I work for Cloudseal :)

提交回复
热议问题