我試圖將WSO2 IS與Liferay集成爲服務提供者,但迄今爲止我還沒有成功。一些修改是對代碼所做,按照提出了三個JIRA問題和補丁上WSO2氧氣罐貢獻的本傑明·施梅林: https://wso2.org/jira/browse/IDENTITY-2856將WSO2身份認證服務器與Liferay集成 - 單點登出問題
上WSO2是SAML設置如下:
Assertion Consumer URL: liferayserver:8080/c/portal/saml/acs
NameID Format: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
Use fully Qualified username on NameID
Enable Response Signing
Enable Assertion Signing
Enable Single logout
-> ConsumerURL: liferayserver:8080/c/portal/saml/slo_redirect
Enable attribute profile
然而,Liferay的返回以下異常:
Liferay returns the following exception:
[code]23:00:50,071 ERROR [http-thread-pool-8080(4)][BaseSamlStrutsAction:45] com.liferay.saml.UnsupportedBindingException
com.liferay.saml.UnsupportedBindingException
at com.liferay.saml.profile.SingleLogoutProfileImpl.processSingleLogout(SingleLogoutProfileImpl.java:216)
at com.liferay.saml.profile.SingleLogoutProfileUtil.processSingleLogout(SingleLogoutProfileUtil.java:54)
at com.liferay.saml.hook.action.SingleLogoutAction.doExecute(SingleLogoutAction.java:39)
at com.liferay.saml.hook.action.BaseSamlStrutsAction.execute(BaseSamlStrutsAction.java:42)
at com.liferay.portal.kernel.struts.BaseStrutsAction.execute(BaseStrutsAction.java:39)
我也試圖改變單一註銷端點liferayserver:8080/C /門/ SAML/SLO無濟於事。在這兩種情況下,會話都在Identity Server(WSO2)上關閉,但不在服務提供者(Liferay)上關閉。
任何想法可能是什麼問題?