Two Laptop Bag
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes User/Role config in server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "User/Role config in server?" Watch "User/Role config in server?" New topic

User/Role config in server?

amarkirt saroay
Ranch Hand

Joined: Mar 16, 2008
Posts: 167
On page 678 HFJS
The black box says.."Assuming you have already configured username/password/role info into your server."

Where do we specify info in the server?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
That's not standardized, and so it differs from server to server. For example, Tomcat has the concept of realms.
Saurabh Naik
Ranch Hand

Joined: Apr 24, 2008
Posts: 87

SCJP 6 (88%), SCWCD 5 (78%), preparing for SCBCD
anand reeddy

Joined: May 05, 2009
Posts: 17
Deployment descriptor
which is an xml file

SCJP 1.4
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
anand matcha wrote:Deployment descriptor which is an xml file

No. web.xml lists the roles needed for particular URLs, but it plays no part in configuring users, their roles and passwords.
I agree. Here's the link:
subject: User/Role config in server?
jQuery in Action, 3rd edition