diff options
author | Eike Stepper | 2013-08-05 06:48:05 +0000 |
---|---|---|
committer | Eike Stepper | 2013-08-05 06:48:05 +0000 |
commit | f21a50ab37f8f4b45993cb208f24d2673db5b21d (patch) | |
tree | 9db317f175cb472068371a49f5de687b7d9282e1 /plugins/org.eclipse.emf.cdo.net4j | |
parent | c66041f9973545b5f89ac028e01a03c8ebb072f3 (diff) | |
download | cdo-f21a50ab37f8f4b45993cb208f24d2673db5b21d.tar.gz cdo-f21a50ab37f8f4b45993cb208f24d2673db5b21d.tar.xz cdo-f21a50ab37f8f4b45993cb208f24d2673db5b21d.zip |
[414391] Expose getCredentialsProvider() in CDOSession
https://bugs.eclipse.org/bugs/show_bug.cgi?id=414391
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.net4j')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/AuthenticationIndication.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/AuthenticationIndication.java b/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/AuthenticationIndication.java index 20e6600778..4ed494d18e 100644 --- a/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/AuthenticationIndication.java +++ b/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/AuthenticationIndication.java @@ -103,34 +103,6 @@ public class AuthenticationIndication extends IndicationWithMonitoring Response response = client.handleChallenge(challenge, clearText); out.writeBoolean(true); response.write(out); - - // CDOAuthenticator authenticator = getSession().getAuthenticator(); - // if (authenticator == null) - // { - // throw new IllegalStateException("No authenticator configured"); //$NON-NLS-1$ - // } - // - // CDOAuthenticationResult result = authenticator.authenticate(challenge); - // if (result == null) - // { - // out.writeBoolean(false); - // return; - // } - // - // String userID = result.getUserID(); - // if (userID == null) - // { - // throw new SecurityException("No user ID"); //$NON-NLS-1$ - // } - // - // byte[] cryptedToken = result.getCryptedToken(); - // if (cryptedToken == null) - // { - // throw new SecurityException("No crypted token"); //$NON-NLS-1$ - // } - // - // out.writeBoolean(true); - // result.write(out); } catch (Throwable ex) { |