When the login of Form-Based Authentication fails because the username/password combination is not correct. The default behavior is the serve the login html page.
But you want to give an error on this page. This can be achieved by putting an Redirection URL with an parameter in the link like this:
/login.jsp?LoginError=True
This should be done in the policy manager:
Default rules - Authentication Rule - Actions - Authentication Failure - Redirection URL.
Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.
Wednesday, June 24, 2009
Subscribe to:
Post Comments (Atom)
Yes, thats helpful.
ReplyDeleteIf you can give example of one simple url being protected, that would be good. for example
ReplyDelete/sso/ -protected
/sso/*.gif – unprotected
headers variable shown by the simple protected file inside /sso
http basic and form base both.
========
I am trying above for last one week but somehow headers are not getting populated. I tried in debug mode and webgate shows the it received the headers. I even open ticket on metalink but i didnt get very got response.
Hi,
ReplyDeleteMaybe another post of mine can be useful for you:
http://knowledge-oracle.blogspot.com/2009/03/coreidoracle-access-manager-form-based.html
Kind regards,
Arjan
Thanks for direction. That post has actually has confused me immensly.
ReplyDeleteWhy do I need to oc4j? I dont think its required to be use with oam. Can you please why you used oc4j whenever you get time.
This comment has been removed by the author.
ReplyDeleteIts good to find this. but is rerouting the only possible way of showing the error?
ReplyDeleteupgrade sap 6.0