users@glassfish.java.net

Re: how to create administrator user for admin console?

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Nov 2008 07:21:02 PST

> How do I secure the Administration Console with an
> admin username and
> password?
>
You can create an admin user in the admin-realm.
Here is the steps to do it in admin console:

- expand the tree node Configuration -> Security -> Realms
- click on 'admin-realm'
- on right side, you will see the Edit Ream page for 'admin-realm'. Click the 'Manage Users' button.
- anonymous user is the only user defined. Click on the 'New...' button
- enter the user ID and password. The Group list must be set to 'asadmin'.
- Press the OK button.
- Notice the 'logout' button in the header so you can logout as anonymous user. At this time, you can also remove 'anonymous' user as well. But whether you remove this or not, 'login' is required to access admin console from now on.


> I would also prefer the admin console to be behind
> ssl -- is that possible
> as well?

yes. You can turn on security for 'admin-listener'. To do this in console:
- expand the tree node HTTP Service -> HTTP Listener
- click on admin-listener
- on the right page, check the Security Enable box.
- click 'Save'.
- restart the server.

Now, you will need to access the console through https://localhost:4848

Hope this help
Anissa

>
>
> Thanks
>
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
[Message sent by forum member 'anilam' (anilam)]

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