admin@glassfish.java.net

questions regarding anonymous user

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Fri, 01 Aug 2008 11:42:55 -0700
Hi,
I have couple questions regarding anonymous user for V3 Prelude release.

1.  For anonymous user,  does the backend accept  *ANY* password,  or  the password has to be 'empty'.    My experience is latter, but i want to confirm since I remember Kedar  mentioned any password should be accepted.

2.  How to create another user if i don't want anonymous login ?  I got an the following error, is this a bug or i still need to create passwordfile even though I just have anonymous user by default ?
anilam$ asadmin create-file-user --authrealmnname=admin-realm admin
remote failure: create-file-user command requires the passwordfile parameter containing AS_ADMIN_USERPASSWORD entry.
Usage: create-file-user [--terse=false] [--echo=false] [--interactive=true] [--host=localhost] [--port=4848|4849] [--secure|-s] [--user=admin_user] [--passwordfile=file_name] [--groups=user_groups[:user_groups]*] [--authrealmname=authrealm_name] username

Command create-file-user failed.

Ps. GUI starts providing user/group management, but any changes like adding user, changing password etc. doesn't persist,  all the changes is lost once server shutdown and there is never update to the keyfile.   I will file issue on this.

thanks
Anissa.