management of session expired was updated
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@81057 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cc97e089e8
commit
88767424d6
|
@ -518,7 +518,8 @@ public class AppController implements SubscriberInterface {
|
||||||
public void onFailure(Throwable caught) {
|
public void onFailure(Throwable caught) {
|
||||||
|
|
||||||
if(caught instanceof SessionExpiredException){
|
if(caught instanceof SessionExpiredException){
|
||||||
eventBus.fireEvent(new SessionExpiredEvent());
|
GWT.log("Session expired");
|
||||||
|
viewSessionExpiredPanel();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1026,7 +1027,8 @@ public class AppController implements SubscriberInterface {
|
||||||
public void onFailure(Throwable caught) {
|
public void onFailure(Throwable caught) {
|
||||||
|
|
||||||
if(caught instanceof SessionExpiredException){
|
if(caught instanceof SessionExpiredException){
|
||||||
eventBus.fireEvent(new SessionExpiredEvent());
|
GWT.log("Session expired");
|
||||||
|
viewSessionExpiredPanel();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue