[infinispan-issues] [JBoss JIRA] (ISPN-7276) Console should automatically logout on Server mode change
Ryan Emerson (JIRA)
issues at jboss.org
Mon Jul 3 05:58:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430379#comment-13430379 ]
Ryan Emerson commented on ISPN-7276:
------------------------------------
I'm not sure we can logout when the server is down. We use a Wildfly mechanism to trick the browser into abandoning the authentication session, so if there is no active server instance then it is not possible for the required HTTP headers to be requested/received by the browser. [Relevant Code|https://github.com/infinispan/infinispan-management-console/blob/master/src/services/authentication/AuthenticationService.ts#L35-L40].
> Console should automatically logout on Server mode change
> ---------------------------------------------------------
>
> Key: ISPN-7276
> URL: https://issues.jboss.org/browse/ISPN-7276
> Project: Infinispan
> Issue Type: Enhancement
> Components: Console
> Affects Versions: 9.0.0.Alpha4
> Reporter: Ryan Emerson
> Assignee: Vladimir Blagojevic
>
> Currently if a user does not logout of the console and then restarts the server(s) in a different mode, i.e. previously it was in domain and now standalone, when the user returns to the console nothing happens on page refresh. At present this means that the user must navigate to /logout or make sure the browser session has been cleared in order to login and use the console again.
> We should handle this situation more gracefully:
> Ideally the console should adapt to the new server mode upon page refresh (or even after x amount of time) and inform the user that the console has refreshed. In some cases this would involve transitioning to a new page if the current page does not exist in the new server mode.
> At the very least, the console should automatically logout the user upon detecting that the server mode has changed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list