Fórumok
Custom Login and redirect
Erik Pronk, módosítva 13 év-val korábban
Custom Login and redirect
New Member Bejegyzések: 7 Csatlakozás dátuma: 2010.06.01. Legújabb bejegyzések
Hi,
I have a problem with a custum login we created, more specific the redirect is not working.
We use Liferay CE 5.2.3 and this is what we have done:
The login works fine but when a guest user requests a protected URL he is not redirected to /login but to /web/guest/home.
When I set the filter loglevel to ALL I see the following:
What am I missing, any help would be appreciated.
Regards Erik
I have a problem with a custum login we created, more specific the redirect is not working.
We use Liferay CE 5.2.3 and this is what we have done:
- Created a hook with custom login jsp's
- Modified the following properties
auth.login.url=/login auth.login.community.url=/login
The login works fine but when a guest user requests a protected URL he is not redirected to /login but to /web/guest/home.
When I set the filter loglevel to ALL I see the following:
[#|2010-08-19T09:29:35.574+0200|INFO|oracle-glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=Thread-1;|09:29:35,573 DEBUG [AutoLoginFilter:72] class com.liferay.portal.servlet.filters.autologin.AutoLoginFilter is enabled
|#]
[#|2010-08-19T09:29:35.574+0200|INFO|oracle-glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=Thread-1;|09:29:35,574 DEBUG [AutoLoginFilter:149] [http-thread-pool-8080-(7)]==> com.liferay.portal.servlet.filters.autologin.AutoLoginFilter /web/guest/home
|#]
What am I missing, any help would be appreciated.
Regards Erik