users@glassfish.java.net

Re: UTF-8 in JDBC principal name?

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Apr 2010 05:54:40 PDT

...and here's how I set up the security realm:

sudo -u www-data \
  $GLASSFISH_HOME/bin/asadmin create-auth-realm \
    --classname com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm \
    --property jaas-context=jdbcRealm:datasource-jndi=jdbc/fpdb:user-table=users:user-name-column=username:password-column=password:digest-algorithm=md5:group-table=users_roles:group-name-column=rolename fp-realm
[Message sent by forum member 'tmpsa']

http://forums.java.net/jive/thread.jspa?messageID=398213