This is a guide how to use Grails with CAS as the authentication server and LDAP as the backend user directory. It uses Spring Security Core and CAS Plugin in conjunction with the LDAP Plugin, that maps LDAP directories into Java classes. The ZIP-file contains the tutorial (PDF) and the sources. The config values in [...]
Today I’ve spend too much time searching the web how to run Glassfish v3 Prelude as non-root user on Scientific Linux (based on Red Hat Enterprise Linux). I added a new user named glassfish, chmod and chgrp’ed the directories and tried to run my glassfish server with “sudo -u glassfish /opt/glassfishv3/bin/asadmin start-domain domain1″. This just [...]
One problem you face when deploying a grails application is the Bootstrap file. In development you want to fill the database with test data everytime you launch your grails application. But in production environment when the application is running on the server only some of those entries should be filled in database and this should [...]
