The most basic authentication can be configured on a Apache is access by file, but in this post we will see how to configure Apache to authenticate users against an LDAP.
The advantages are obvious, we can use a centralized authentication LDAP directory, either to validate us in applications or to access the web services of the company.
For the examples we have used a Ubuntu 12.04 and Apache 2.2, the first thing we have to do is install the necessary Apache modules and activate them:
sudo aptitude install libapache2-mod-ldap-userdir
sudo a2enmod authnz_ldap
Although I have considerable experience in application servers (WebLogic and Apache Tomcat above), this is the first entry I’ll do about it.
JBoss version 7 can say that is impressive (http://www.jboss.org/jbossas) regarding version 6. Everything is much more organized and allows the creation of domains and server groups where deploy / maintain applications centrally.
In this case we will have to install a domain JBoss 7 prepared for high availability and replication session (later configure a balancer to test this).
The official documentation on:
This post is the continuation of JBoss installation domain.
On the basis of the previous article, we will expand the domain to a new server on another machine increasing service availabilities.
The new machine will be called clu02 (IP 192.168.128.221), it will connect to clu01 (Domain Controller (DC) IP 192.168.128.220) and the final structure will be:
Steps to follow: