File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Websphere Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Websphere Authentication" Watch "Websphere Authentication" New topic

Websphere Authentication

Pritam Pritam

Joined: Dec 05, 2003
Posts: 6
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">
<auth-constraint id="AuthConstraint_1">
<user-data-constraint id="UserDataConstraint_1">
Here /jsp/ILM/HomePage.jsp , / 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

It is one's attitude at the beginning of a task <br />which will, more than anything else, determine its outcome
JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
Hi Pritam,
I won't answer to your private email 'cause I believe the JavaRanch thread is a better place for your problem. There are a lot of people around there who will be glad to help you.
"Everyone works better when everyone works together..."

My understanding of you problem is that you are prompted for login twice, although the credentials you've entered are correct the first time.
Is it really the problem you are running into ?
It could be useful to specify which version of WebSphere you test on, and which kind of authentication you've implemented. My guess is LTPA but....

/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
I agree. Here's the link:
subject: Websphere Authentication
It's not a secret anymore!