留言板

Setting j_username and j_password session attributes

Ime Prezime,修改在11 年前。

Setting j_username and j_password session attributes

New Member 帖子: 4 加入日期: 13-3-7 最近的帖子
From all that I can see in Liferay 6.1.1 CE GA2 source, setting session attributes:
- "j_username" with information from USER_.USERID
- "j_password" with information from USER_.PASSWORD_
means that the user is logged in. Is that right?

If previous is true, how can I set these session attributes from custom portlets so they can be visible to internal Liferay classes which need these attributes (AutoLoginFilter, WebServerServlet, etc)?

If previous is not true, then what information identifies the state in which the user is logged in? Where that information is stored?