Project

General

Profile

feature request #6680

catch exception when user is expired

Added by Patrick Plitzner over 1 year ago.

Status:
New
Priority:
New
Category:
taxeditor
Target version:
Start date:
05/30/2017
Due date:
% Done:

0%

Severity:
normal

Description

Hallo,

wenn der User aus irgendeinem Grund gesperrt ist, gibt es eine unschöne Fehlermeldung – vielleicht könnte man die gelegentlich mal abfangen?

Herzlichen Gruß
Walter

login : wgb

editor version : 4.6.0

server : api.cybertaxonomy.org (cybertaxonomy.org) / salvador

schema version : 4.1.0.0.201607300000

os : Windows 7 6.1 amd64

java : 1.8.0_131

org.springframework.security.authentication.AccountExpiredException: User account has expired

                at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider$DefaultPreAuthenticationChecks.check(AbstractUserDetailsAuthenticationProvider.java:370)

                at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:164)

                at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:167)

                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog.validateLogin(RemotingLoginDialog.java:972)

                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog.connect(RemotingLoginDialog.java:879)

                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog.connectButtonPressed(RemotingLoginDialog.java:480)

                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog.access$2(RemotingLoginDialog.java:476)

                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog$6.widgetSelected(RemotingLoginDialog.java:358)

                at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)

                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)

                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)

                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)

                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog.open(RemotingLoginDialog.java:208)

                at eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler.execute(ShowRemotingLoginWindowHandler.java:37)

                at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)

                at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)

                at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)

                at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)

                at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)

                at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)

                at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)

                at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)

                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)

                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)

                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)

                at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)

                at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)

                at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)

                at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)

                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)

                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

                at eu.etaxonomy.taxeditor.Application.start(Application.java:24)

                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

                at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)