简体   繁体   English

如何正确实现自动登录界面,Liferay 6.2

[英]How to implement AutoLogin Interface correctly, Liferay 6.2

When I try to implement the mentioned interface I found that there are 2 methods to override. 当我尝试实现上述接口时,我发现有2种方法可以覆盖。

  1. doLogin doLogin
  2. doHandleException doHandleException

can anyone please explain how to implement those methods in a proper way. 谁能解释一下如何以适当的方式实现这些方法。 Thanks 谢谢

Follow the source code of below liferay class and same you can implement to your Auto login.. 遵循liferay类下面的源代码,您可以将其实现为自动登录。

RememberMeAutoLogin RememberMeAutoLogin

Please have a look into following link for more liferay stuff LiferaySavvy.com 请查看以下链接以获取更多liferay资料LiferaySavvy.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM