users@glassfish.java.net

Re: Glassfish security - user session linked with database

From: CasMeiron <casmeiron_at_gmail.com>
Date: Wed, 22 Sep 2010 08:21:28 -0300

So on the described example my create-auth-realm command would be like this:

*asadmin create-auth-realm --classname
com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm --property
jaas-context=jdbcRealm:datasource-jndi=jdbc/nprd:user-table=user:user-name-column=username:password-column=password:group-table=user_role:group-name-column=name:digest-algorithm=MD5
nprd-realm*

jdbc/YOUR_JDBC_NAME I meant your JDBC Resource (assigned to a connection
pool).

bye.
-------------------------------
Paulo Reis




On Wed, Sep 22, 2010 at 8:19 AM, CasMeiron <casmeiron_at_gmail.com> wrote:

> =