On 10/22/10 5:17 PM, Bill Shannon wrote:
> Ludovic Champenois wrote on 10/22/10 04:00 PM:
>> On 10/22/10 2:24 PM, Bill Shannon wrote:
>>> And what credentials are required to execute this command?
>> Normal ones...
>> The issue is for this scenario only:
>>
>> 1/ Anon is on
>> 2/ you are connected to the admin GUI as anonymous,
>> 3/ so there is no logout button on the admin gui
>> 4/ you use admin gui to set yourself a password
>> 5/ you are still connected to admin gui but you are not anonymous
>> anymore: the
>> admin gui needs this cli to test if the logout button should be shown
>
> And it can't do that with local state in the admin gui session?
Step 4 could be done outside admin gui by another user via cli...
>
> Can't you get the same information by issuing a REST request with
> no credentials?
iirc, admin gui does not want to store in its process username/password
but a session token gotten via rest at the first connect, so calling
rest with it would not trigger a password...
Admin gui team can describe more the scenario if you want.
Ludo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>