Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

When to edit web.xml?

Hi,

I am attempting to get my brain around the role of web.xml. I have configured the Jazz roles to LDAP groups in the actual server configuration. Why do I need to also provide the same mapping in the web.xml file? Is that a mapping for the container only? I know I'll need to explain this to customers shortly so I want be sure I have it down with belts and braces myself...

Cheers

0 votes



5 answers

Permanent link
Also, I am assuming the brackets shown in the excellent LDAP4Dummies doc

https://jazz.net/wiki/bin/view/Main/LDAP4Dummies

are merely to point out where the value goes or are those required?

e.g <role>bluegroup_jazgst</role>

0 votes


Permanent link
Bryan,
You need to edit web.xml if your LDAP group names are different from the
Jazz group names (JazzAdmins, JazzGuests, JazzDWAdmins, JazzUsers).

The changes to web.xml is used by the container to authenticate the user.

----- Balaji

"bmiller" <bryan> wrote in message
news:g4evhe$huc$1@localhost.localdomain...
Hi,

I am attempting to get my brain around the role of web.xml. I have
configured the Jazz roles to LDAP groups in the actual server
configuration. Why do I need to also provide the same mapping in the
web.xml file? Is that a mapping for the container only? I know I'll
need to explain this to customers shortly so I want be sure I have it
down with belts and braces myself...

Cheers

0 votes


Permanent link
Bryan,
In security roles and security constraint section, you need to add an entry
for every group in LDAP (if LDAP group names are different from Jazz group
name)
<role>bluegroup_jazz</role>

--- Balaji

"bmiller" <bryan> wrote in message
news:g4f19n$imu$1@localhost.localdomain...
Also, I am assuming the brackets shown in the excellent LDAP4Dummies
doc

https://jazz.net/wiki/bin/view/Main/LDAP4Dummies

are merely to point out where the value goes or are those required?

e.g <role>bluegroup_jazgst</role

0 votes


Permanent link
Thanks Balaji.

0 votes


Permanent link
Just so it's clear to me ... if my group names are the same as below
then there is no need to edit web.xml. I should be able to simply
configure the Jazz server to LDAP authenticate and i'll be good to go?

Balaji Krish wrote:
Bryan,
You need to edit web.xml if your LDAP group names are different from the
Jazz group names (JazzAdmins, JazzGuests, JazzDWAdmins, JazzUsers).

The changes to web.xml is used by the container to authenticate the user.

----- Balaji

"bmiller" <bryan> wrote in message
news:g4evhe$huc$1@localhost.localdomain...
Hi,

I am attempting to get my brain around the role of web.xml. I have
configured the Jazz roles to LDAP groups in the actual server
configuration. Why do I need to also provide the same mapping in the
web.xml file? Is that a mapping for the container only? I know I'll
need to explain this to customers shortly so I want be sure I have it
down with belts and braces myself...

Cheers


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 02 '08, 12:17 a.m.

Question was seen: 6,146 times

Last updated: Jul 02 '08, 12:17 a.m.

Confirmation Cancel Confirm