• Pre Login and Post Login Action In Liferay 7 DXP

    Pre Login and Post Login Action In Liferay 7 DXP

    In order to create a Pre Login Action in liferay, create an Activator Module Project with the Project Template of "activator", after creating the Module Right Click on the module to create a component class as shown in the below image.




    Select the "Login Pre Action" component class template and give a component class name as shown in the image.



    After creating the component you will be able to see the LoginPreAction Class.



    Post Login Action
    For Post Login Action the property key will be "key=login.events.post"



    buil.gradle

    dependencies { compileOnly group: "org.osgi", name: "org.osgi.core", version: "6.0.0" compile group: "org.osgi", name:"org.osgi.service.component.annotations", version:"1.3.0" compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0" compileOnly group: "javax.servlet", name: "javax.servlet-api", version: "3.0.1" compileOnly group: "javax.portlet", name: "portlet-api", version: "2.0" compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0" compileOnly group: "jstl", name: "jstl", version: "1.2" compileOnly group: "org.osgi", name: "osgi.cmpn", version: "6.0.0" }

    Source Code


  • 17 comments:

    1. At the point when the client click on the logout connect or when he leaves that site the login data might be erased. hotmail

      ReplyDelete
    2. Great post, you have pointed out some fantastic points , I likewise think this s a very wonderful website. https://officialbopkingdlow.com/voom-login/

      ReplyDelete
    3. Everything has its value. Thanks for sharing this informative information with us. GOOD works! source

      ReplyDelete
    4. Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it. 토토커뮤니티

      ReplyDelete
    5. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. 먹튀검증

      ReplyDelete
    6. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. 대전1인샵

      ReplyDelete
    7. At Inovi, we’re committed to achieving the highest success rates while providing personalized care to our patients. Our Houston location offers expert care and is home to our state-of-the-art embryology lab. additional info

      ReplyDelete
    8. With liposuction, the surgeon can remove stubborn fat deposits, improve your physical appearance by using contouring procedures to give you pleasing curves in all the right places. double chin

      ReplyDelete
    9. Merely a smiling visitant here to share the love (:, btw outstanding style. test bank nursing

      ReplyDelete
    10. Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck. 먹튀검증

      ReplyDelete
    11. I havent any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. 먹튀검증

      ReplyDelete
    12. I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website. 먹튀검증

      ReplyDelete
    13. I have read your blog it is very helpful for me. I want to say thanks to you. I have bookmark your site for future updates. 온라인바둑이

      ReplyDelete
    14. I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it.. 토토커뮤니티

      ReplyDelete