Skip to main content
1 reply [Last post]
Joined: 2010-08-30


i need some help on this plz.........Its about Security roles

i know why tag is used in descriptor( sun-web.xml ) files
its for binding a individual user to a security role

but i am not very clear about "class-name" attribute
i know that its optional . if we dont specify in descriptor( sun-web.xml ) files it will take a default class "com.sun.enterprise.deployment.PrincipalImpl"

i found source code of it in this link

i got something from it

but if we did't use a default attribute in there
what we going to use in there( )

i want to know why it is useful.....what it does ( class-name )

so plz help me

Links i found have some info about it

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2010-08-30

i think this have something to do with "JAAS Login modules"