Skip to main content

Posts

Showing posts from April, 2008

J2EE Container Security in Applications

Introduction Using J2EE Container security is the first step towards designing a secure and portable J2EE application . The integration of Container security with an application is easy but requires some amount of knowledge and research. The main reason for this is various J2EE application server providers gives us only a limited amount of login modules by default. For example an Active Directory authentication is a standard requirement but not all J2EE Server vendors provide this.But many major vendors provide this login module . The bottomline is we may be required to write our own login modules for many standard services. Writing our own login module is not difficult .Writing a custom login module will not be covered in this post.This post is about integrating a DB login module to an application deployed in JBoss Server. In this post i am only giving the steps without eloborating on each of the steps. 5 Steps Identify the EJB that you want to secure. Add the annotation @Securitydoma...