• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on JAAS and J2EE Declarative security

 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pankaj,
I w'd like to know your thoughts on JAAS and J2EE declarative security.
Do you think they integrate very well?. Can i employ JAAS for authenticatin and authorization and then expect the container to propogate the role, user context to the EJB container? I'm somehow not convinced about these 2 things working together seamlessly.
It w'd be great if you c'd share ur thoughts on this.
thanks!
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does all EJB servers support integration with JAAS?
 
Mcgill Smith
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAAS is now included with the J2se 1.4,there is no explicit requirement in the EJB and J2EE specs that EJB containers must use JAAS to provide server-side authentication services.
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There was some discussion about merging the policy files for JAAS and Java 2 security in the 1.4 release. Did that happen?
 
Pankaj Kr
Author
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With J2EE 1.3, JAAS and J2EE App Security (basically Web Apps and EJB Apps) didn't integrate very well. With J2EE 1.4 comes a new specification known as "Java Authorization Contract for Containers". This spec. is basically for Container providers so that the J2EE containers integrate well with JAAS.
 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer to JSR 115 - JavaTM Authorization Contract for Containers , its target java platform is JDK 2 SDK, Enterprise Edition, V 1.3 and above
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks pankaj for the info.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic