September 2003
Intermediate to advanced
464 pages
12h 22m
English
As an attentive reader, you must have noticed the semantic similarity between java policy files of JAAS and the portions a bean deployment descriptor that specify method level access control. The former grants certain permissions based on the identity of the current user, among other things, and is enforced by the security manager. The later specifies permission to invoke certain methods based on the identity of the current user and is enforced by the container. How are these two mechanisms different, besides the obvious difference in the syntax?
Let us understand this relationship by answering the following question.
Is the identity returned by getCallerPrinicpal() in a bean related to the Subject associated ...
Read now
Unlock full access