I am able to do it when I use the portal login portlet but when I use my own custom portlet I am not able see the desired page .
In case of custom portlet When I enter my credentials it shows that I am logged in but again redirects me to the same page.
This not the case with the login portlet.This only happens when i use my custom login portlet.
I can see in console it calls the redirect URL but the page doesn't get redirected.
Console is same for the both case but in custom login portlet it doesn't get redirected.
Can I get any help on this .
Thanks
Pranav
Can you show the code you are calling to login?
IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0
IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM
Pranav
[Custom landing page after login - Authentication Filter approach|http://extremeportal.blogspot.com/2009/08/custom-landing-page-after-login.html]
[Authentication Filter implementation|http://extremeportal.blogspot.com/2009/06/authentication-filter-implementation-in.html]
thanks..
**
*[Extreme Portal|http://ExtremePortal.blogspot.com]*
a)user logs in to portal
b)if any exception occured in filter you want to show error message in login portlet
right?
I am able to do it in case of explicit filter but i am unable to do it in case of implicit filter.
here you go...
once you receive any error in filter, generate a url to login portlet using URL generation API and redirect from catch block.
also put some attribute in parameter map and retrieve the same in doView of login portlet and based on that show error page.
hope that helps
**
*[ExtremePortal|http://ExtremePortal.blogspot.com]*
http://www.ibm.com/developerworks/websphere/techjournal/0711_abbass/0711_abbass.html
Additionally you can verify your code with custom portlets tab as well.
set_cookie ( " ", " ", 2100, 01, 15, "/",
"", "" );
set_cookie ( " ", " ", 2100, 01,
15, "/", "", "" );
Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@1d441d44
[4] com.ibm.ws.bootstrap.ExtClassLoader@7e7a7e7a
[5] org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@228e228e
[6] sun.misc.Launcher$AppClassLoader@155c155c
[7] sun.misc.Launcher$ExtClassLoader@438a438a
---Original exception---
java.lang.UnsupportedClassVersionError: (authfilters/AuthFilter) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:258)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:555)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:506)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:389)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at java.lang.Class.forNameImpl(Native Method)..
...........
Any help .