Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay Ntlm Filter override
Hello to everyone I need an help.
I want redirect users to their homepage, after NTLM recognized them.
1- The conection between Liferay + LDAP + NTLM works.
2- Now I need to modify NtlmFilter.java to redirect user in their homepage.
3- To do this, I want override LPKG, Liferay CE Foundation - Liferay CE Security SSO - Impl, in particular com.liferay.portal.security.sso.ntlm.internal.servlet.filter;
4- For override the LPKG, I'm following thi guide: https://dev.liferay.com/fi/develop/tutorials/-/knowledge_base/7-1/overriding-lpkg-files
5- In the attachment there is my project organization. It's correct or something is missing because liferay dosen't start
Is the correct method to do this? O there are other method to redirect users to their homepage, after NTLM recognized them, whitout overraide LPKG module?
Attachments:
Hi Lorenzo,
There is liferay feature called login pre and post action you can use.
I am not sure it will help with Ntml filters.
Give it a try with login post action event. you will find video tutorial on youtube.
Cheers
Murad
Thanks for reply!
Anyone know other information?
I must work with NTLM.
Pre login and post login action should be helpful, but how use that action whit NTLM?
io sto cercando di fare una cosa simile con il Cas Filter della portlet security.
Sei riuscito a fare l'override dell'lkpg o hai trovato un metodo alternativo?
Un’altra prova è quella di premere il pulsante login e vedere se viene effettuato l’auto login nel portale di liferay. Io sto cercando di entrare nel portale senza premere il tasto sing in ma non trovo il mondo.
Powered by Liferay™