users@glassfish.java.net

Re: how to create administrator user for admin console?

From: Corey <corey_at_bitworthy.net>
Date: Fri, 21 Nov 2008 13:04:29 -0700

On Friday 21 November 2008 08:21:02 am glassfish_at_javadesktop.org wrote:
> > 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
>


Yes, very much - thankyou for the information!