File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webshere Authentication

 
Pritam Pritam
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing a major difficulty. It is as follows :
I have entered the following in web.xml
<security-constraint id="SecurityConstraint_1">
<web-resource-collection id="WebResourceCollection_1">
<web-resource-name>SecureMe</web-resource-name>
<url-pattern>/jsp/ILM/HomePage.jsp</url-pattern>
<url-pattern>/manualSetup.do</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint id="AuthConstraint_1">
<description>CategoryManager:+:tutorial</description>
<role-name>CategoryManager</role-name>
</auth-constraint>
<user-data-constraint id="UserDataConstraint_1">
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
Here /jsp/ILM/HomePage.jsp , /manualSetup.do are the resources to be protected . I have entered role as CategoryManager.

When i enter http://localhost:9080/ILMWeb/.. /HomePage.jsp

I am directed to Authentication page of WAS where i can enter Username and password as per the user's password in Active Directory.Having done this , when the username and password entered are correct I am directed again to Authentication page
where i entered username and password . At this stage i should be directed to HomePage.jsp as per the URL entered . This is because the username and password entered by me are correct.
Can u please help regarding this issue ?
May i know how did you tackle this problem ?
Waiting for your reply
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please don't post the same thread multiple times, it makes things very confusing.
Please continue the conversation here.
Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic