Home arrow Java arrow JAAS, Securing EJB
JAVA

JAAS, Securing EJB


The first article in this two-part tutorial discussed how to secure web components when using the JAAS framwork. Since J2EE components are divided into web components and business components, the next logical step is to learn how to secure business components. That is the topic of this article.

Author Info:
By: A.P.Rajshekhar
Rating: 5 stars5 stars5 stars5 stars5 stars / 14
August 24, 2005
TABLE OF CONTENTS:
  1. · JAAS, Securing EJB
  2. · JAAS and J2EE Container Interaction
  3. · JAAS and EJB- Implementing JAAS for EJB
  4. · Authenticating the user within the EJB

print this article
SEARCH DEVARTICLES

JAAS, Securing EJB
(Page 1 of 4 )

Last time we discussed securing web components, for example JSPs and servlets using the JAAS framework. The next natural step is securing business components. But before moving into this realm of securing J2EE applications, let's recapitulate. The following were the steps required to secure web components:

  1. Implement the LoginModule.
  2. Write the CallBackHandler. 
  3. Providing custom implementations for Principal and Action(this is optional).
  4. Configure the JAAS policy file.
  5. Configure the J2EE Application server.

Though the complete procedure was traced step-by-step, something was left out. The interaction between the JAAS framework and the J2EE containers needs to be understood. This is more essential in the case of business components as a part of the declarative approach comes into picture. So first I will discuss the interaction in detail, and then move on to the implementation of JAAS in securing EJB.


blog comments powered by Disqus
JAVA ARTICLES

- Java Too Insecure, Says Microsoft Researcher
- Google Beats Oracle in Java Ruling
- Deploying Multiple Java Applets as One
- Deploying Java Applets
- Understanding Deployment Frameworks
- Database Programming in Java Using JDBC
- Extension Interfaces and SAX
- Entities, Handlers and SAX
- Advanced SAX
- Conversions and Java Print Streams
- Formatters and Java Print Streams
- Java Print Streams
- Wildcards, Arrays, and Generics in Java
- Wildcards and Generic Methods in Java
- Finishing the Project: Java Web Development ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials