admin@glassfish.java.net

Re: Question about admin user/password

From: Kim Haase <Camilla.Haase_at_Sun.COM>
Date: Tue, 21 Apr 2009 15:07:33 -0400

On 04/21/09 14:43, Anissa Lam wrote:
>
> Hi Kim,
>
> Kim Haase wrote:
>> Thanks -- I'll update the online help to reflect this new behavior.
> This is the behavior in v3 Prelude, not sure if you consider this 'new'
> behavior.
>>
>> Could the administrator restore the old behavior by creating a user
>> who will be required to log in and then deleting the anonymous user?
>> If they create a new user who needs a password, but don't delete the
>> anonymous user, will the default behavior still be to start the
>> console with the anonymous user? I can try this out, but it would be
>> useful to know.
> You can go to security-> admin-realm and press the Manage Users button
> to create more admin user. Once an additional user is created, you
> will notice the 'Logout' link in the upper right corner. You can then
> log out and log back in as the new user.
> You have the option to delete the anonymous user, or add a password to
> it, or leave the password field empty for anonymous user.
>
> The login screen will be skipped only if there is just 1 user who's
> name is 'anonymous' and who doesn't have any password. Any other
> situation will require login.
>
> I thought this is all documented in v3 Prelude already. You may want
> to check with Paul.

Thanks for the explanation! I'm currently editing the Prelude OLH.
Nothing was previously stated explicitly about the default behavior for
the admin realm. There is a task to change the admin password but no
indication that there isn't one by default.

I do see that the Logout button appears when I add an admin user and
that I have to log in. I also see that by default I don't have to type a
password when I log in as "anonymous" (but I do when I log in as the new
admin user, for whom I specified a password).

I guess that the apparent vertical bar next to the Help button when
there's only the one admin user marks where the Logout button goes.

Kim

>
> thanks
> Anissa.
>>
>> Kim
>>
>> On 04/21/09 13:06, Anissa Lam wrote:
>>>
>>> I haven't heard any change in this area. I assume this will stay
>>> the same.
>>>
>>> thanks
>>> Anissa.
>>>
>>> Kim Haase wrote:
>>>> Hi, Anissa,
>>>>
>>>> In current promoted V3 builds, no login is required for the Admin
>>>> Console. The user is logged in automatically with the user name
>>>> "anonymous".
>>>>
>>>> Will this continue to be the case for the Preview release? Or will
>>>> the default user "admin" be reintroduced?
>>>>
>>>> Thanks,
>>>> Kim Haase