after the login with the correct credentials i am getting the below error any suggestion .
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.2 401 Unauthorized
Always mention your JDev version and explain your usecase better, so that others can understand and help you out.
Are you using only Authentication or both Authentication and Authorization? If later, have you granted permission on the resultant page?
I am using jdev 220.127.116.11.0 . Also using both authentication and authorization . Usecase is in the login page after user enters the login credentials which are assigned roles i need to take if success to the home page.
See this article from Andrejus: http://andrejusb.blogspot.com/2009/01/practical-adf-security-deployment-on.html
And this: http://docs.oracle.com/cd/E28271_01/web.1111/e28164/adding_security.htm#ADFFD19634