论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Michele Zanarotti
Multiple Authentication
2013年3月8日 上午2:27
答复

Michele Zanarotti

等级: Junior Member

帖子: 93

加入日期: 2012年2月20日

最近的帖子

Hello.
We have the need to support our users coming from different authentication systems. One will be the usual login system already integrated in liferay. The other
is done against a shibboleth Identity Provider.

What is the best way to separate (if possibile) the links for authentications , in order to enable the right triggers/filters each time ?
Bart Simpson
RE: Multiple Authentication
2013年3月8日 上午3:47
答复

Bart Simpson

等级: Liferay Master

帖子: 524

加入日期: 2011年8月29日

最近的帖子

You can create a login link and send them to the external Identify Provider. Liferay login will be accessible through /c/portal/login
Additionally you can checkout the auth.pipeline properties
Michele Zanarotti
RE: Multiple Authentication
2013年3月8日 上午5:58
答复

Michele Zanarotti

等级: Junior Member

帖子: 93

加入日期: 2012年2月20日

最近的帖子

Yes. Really i don't need to touch the auth.pipeline because c/portal/login is just fine. But if i add something else like c/portal/shibboleth/login
i know how to hook a filter just to read shibboleth params coming from IDP , but after that, i have to send the filterchain to the other filters made only for c/portal/login.

How to customize the login filtering in order to use both authentications ? Do I need an ext-plugin , or it is sufficient an hook ?
Michele Zanarotti
RE: Multiple Authentication
2013年3月8日 上午6:48
答复

Michele Zanarotti

等级: Junior Member

帖子: 93

加入日期: 2012年2月20日

最近的帖子

I also discovered that i can separate login methods per site. But i can't find a way to add the normal login portlet to a page.
Michele Zanarotti
RE: Multiple Authentication
2013年3月8日 上午8:52
答复

Michele Zanarotti

等级: Junior Member

帖子: 93

加入日期: 2012年2月20日

最近的帖子

Oh, it was very simple 'Sign In' is the name of the portlet. Now i'm going to try this trick.