users@glassfish.java.net

Re: asadmin and admin console authentication.

From: <glassfish_at_javadesktop.org>
Date: Tue, 08 Jul 2008 06:11:03 PDT

It's not awfully clear to me, but it is very much possible to "reasonably safely" connect to the
server from a local or remote host without having to specify the admin username and password.

Please take a look at:
- asadmin create-domain [b]--savelogin[/b]
- asadmin [b]login[/b] --host host [--port 4848]

This will save credentials in a file called ".asadminpass" in your home folder and it will use
those values (encoded) to connect to the server if you don't override them on the command
line.

Regards,
Kedar
[Message sent by forum member 'km' (km)]

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