フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド数 [ 前へ | 次へ ]
Rose M Kad
Custom login portlet
2010/05/25 7:36
答え

Rose M Kad

ランク: New Member

投稿数: 6

参加年月日: 2010/05/13

最近の投稿

We are using Liferay 5.2.3 with JBoss.

I have developed a custom JSF login portlet where it takes user name (screen name ) and password.

After click on submit button , the user is getting authenticated against OpenSSO server. If the user does not exist in the liferay but in the opensso , the user is being created.

But here is the problem. After submit button, I should be able to login with this user.(after successful authentication).

Please suggest me how to do this?

I looked at the liferay login portlet, LoginAction.java, login.jsp and LoginUtil.java.

I found out that we do not have access to LoginUtil.java class from outside of the environment.

This is "NOT" an EXT environment.

Any suggestions/ideas are greatly appreciated.
Bijan Vakili
RE: Custom login portlet
2010/05/25 22:24
答え

Bijan Vakili

LIFERAY STAFF

ランク: Junior Member

投稿数: 38

参加年月日: 2010/04/05

最近の投稿

Rose,

After click on submit button , the user is getting authenticated against OpenSSO server. If the user does not exist in the liferay but in the opensso , the user is being created.

But here is the problem. After submit button, I should be able to login with this user.(after successful authentication).

Please suggest me how to do this?


If possible, let Liferay handle the user import process. It will save you custom coding and code maintenance. Take a look at the following URI for more infomation:

http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/LDAP