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
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
5 answers
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...
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
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...
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
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:
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