2013年12月15日星期日

Two web systems , sso ( single sign-on ) how to do ?

WEB two existing systems , a php jsp 's a different domain , nor on one server , how to achieve sso single sign-on ? saw a lot of single sign-on online programs , but most difficult to understand , or do not know specifically how to implement , please enlighten me master .
------ Solution ---------------------------------------- ----
first of these two systems have to trust each other , such as your login jsp that system , the system should return an authentication credential for you when you log php system with this certificate can directly log
- ----- Solution --------------------------------------------
web service, there will be general sso interfaces and examples to follow suit on the line.
------ Solution ---------------------------------------- ----
just had such a feature !
say something about my treatment options, system settings system B of A account and password ! But does not check whether the correct calibration work by the system B to deal with, when the system A click to System B, then B will check the system , of course, playing the wrong wrong page ! This is how I deal with !
------ Solution ---------------------------------------- ----
CAS + LDAP
------ Solution --------------------------- -----------------
with cookie bars , simple
------ Solution --------------- -----------------------------
oauth2
------ For reference only ----- ----------------------------------

two systems are trusted to return the credentials no problem , how to return ? how to use ? Process how to walk ?
------ For reference only -------------------------------------- -
if I know there are cases where data can follow suit and not here to ask yourselves
------ For reference only ------------- --------------------------

jump from a to B when the username and password are brought to school B experience ?
------ For reference only -------------------------------------- -
there is no master ah ...
------ For reference only --------------------------- ------------

ah , this is a method .

没有评论:

发表评论