users@glassfish.java.net

Re: create-auth-realm problem

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Tue, 27 May 2008 20:30:43 -0400

> In the command line in the asadmin program i type in the following:
> create-auth-realm --classname
> com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm --property
> user-name-column=username:digest-algorithm=md5:password-
> column=password:group-name-column=rolename:datasource-jndi=jdbc/
> web4project:user-table=persons:group-table=persons_roles:jaas-
> context=jdbcRealm web4projectrealm
>
> But it says: "Invalid user or password"
>
> But it didn't even ask for my username or password

Can you try again with the --user and --passwordfile options? (Or else
use 'asadmin login' to avoid this.) See http://tinyurl.com/4gqpwh for
more information.

Cheers,
Bobby