]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - security/plugins/org.argeo.security.ui.rap/src/main/java/org/argeo/security/ui/rap/SecureEntryPoint.java
Introduce OSGi Explorer
[lgpl/argeo-commons.git] / security / plugins / org.argeo.security.ui.rap / src / main / java / org / argeo / security / ui / rap / SecureEntryPoint.java
index 8e377e09998ccdc1ec0f4f468e6d622dc201f01c..9f54e4c752c3918c536a2f6df92923c045344c60 100644 (file)
@@ -72,29 +72,6 @@ public class SecureEntryPoint implements IEntryPoint {
                                        throw td;
                                }
 
-                               // if (e.getCause() != null) {
-                               // Throwable firstCause = e.getCause();
-                               // // log.error("Cause", firstCause);
-                               // if (firstCause instanceof LoginException
-                               // && firstCause.getCause() != null) {
-                               // Throwable secondCause = firstCause.getCause();
-                               // if (secondCause instanceof BadCredentialsException) {
-                               // MessageDialog.openInformation(
-                               // display.getActiveShell(),
-                               // "Bad Credentials",
-                               // "Your credentials are incorrect");
-                               // // retry login
-                               // continue tryLogin;
-                               // } else if (secondCause instanceof ThreadDeath) {
-                               // // rethrow thread death caused by dialog UI timeout
-                               // throw (ThreadDeath) secondCause;
-                               // }
-                               //
-                               // } else if (firstCause instanceof ThreadDeath) {
-                               // throw (ThreadDeath) firstCause;
-                               // }
-                               // }
-
                                if (!display.isDisposed()) {
                                        org.argeo.eclipse.ui.Error.show(
                                                        "Unexpected exception during authentication", e);