Over a million developers have joined DZone.

LDAP/Form-Based Authentication in GlassFish

· Java Zone

Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems, brought to you in partnership with AppDynamics.

Security, specifically authentication and authorization, is one of the least well understood parts of Java EE. This is despite the fact that most Java EE application servers, including GlassFish have extremely robust infrastructures for securing Java EE applications. This is doubly true for application servers like WebLogic which have extensive sets of authentication providers that can often be configured through simple point-and-click GUI interfaces. In this well-written blog post, Mainak Goswami explains how you can secure a Java EE/GlassFish application using LDAP (LDAP being the most widely used authentication provider in the enterprise). I thought it is useful to highlight that entry here.

Mainak explains step-by-step the basics of Java EE security, setting up LDAP in GlassFish, creating the secure application in NetBeans, setting up the GlassFish security realm, writing the secure application and configuring application security.

The Java Zone is brought to you in partnership with AppDynamics. AppDynamics helps you gain the fundamentals behind application performance, and implement best practices so you can proactively analyze and act on performance problems as they arise, and more specifically with your Java applications. Start a Free Trial.

Topics:

Published at DZone with permission of Reza Rahman , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}