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

hi

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

http://kickjava.com/src/com/sun/enterprise/deployment/PrincipalImpl.java...

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

http://docs.sun.com/app/docs/doc/820-7693/beavw?l=en&a=view

Reply viewing options

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

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