Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
We are trying to configure the single sign on using jboss negotiation.
We are able to login successfully if the user is present in active directory.
But in case if user is not present in active directory users, it throw 401 error page.
Instead of 401 we want user to access login form and authenticate user using different login module.
In our case we have login page we authenticate user on that page.
If we receive user credentials we login the user without asking for password.
Now if the user credentials are not received then we want user to open login form present
on login page, but before that is throws 401 error.
We have configure the login-config.xml, web.xml and jboss-web.xml as per the documentation.
Also defined
<web-resource-collection>
<web-resource-name>Restricted</web-resource-name>
<url-pattern>/Request</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
in web.xml
Our application is access through Request servlet.