Forums Register Login

ejb security

+Pie Number of slices to send: Send
hi
here i am using example to explain my doubt
Let there is user X
suppose userid of X is :XYZ
password of user X is :ABC

now from client how this how user X will send this information
so that principal object can used to identify its permissions

Thanks
+Pie Number of slices to send: Send
EJB do not actually care about the user ID and password. All they care about is the roles that user has. Usually, you have to identify yourself with your username and password through another security infrastucture (LDAP, etc) and then once you are "logged in" you have a Principal that represents you. Usually, principals are created by the application server using JAAS or other mechanism. The bottom line is that as far as EJBs are concerned, they don't care about your username and password.
That's a very big dog. I think I want to go home now and hug this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 485 times.
Similar Threads
Simple question on inverting values
TicTacToe! Stop user from changing input
Getting the checkbox collection values in the FormBean
JDialog X Button
error in result
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:19:54.