X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.repo%2Fsrc%2Forg%2Feclipse%2Faether%2Frepository%2FAuthentication.java;fp=org.argeo.slc.repo%2Fsrc%2Forg%2Feclipse%2Faether%2Frepository%2FAuthentication.java;h=0000000000000000000000000000000000000000;hb=ecc22e604e47533c79de9cecdcdeacbc752cbff1;hp=c1eaac02743a7a2884391ef3e3b1b921960640f4;hpb=e07ded4632e53f8b8869763bc1f1f4091361e76e;p=gpl%2Fargeo-slc.git
diff --git a/org.argeo.slc.repo/src/org/eclipse/aether/repository/Authentication.java b/org.argeo.slc.repo/src/org/eclipse/aether/repository/Authentication.java
deleted file mode 100644
index c1eaac027..000000000
--- a/org.argeo.slc.repo/src/org/eclipse/aether/repository/Authentication.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010, 2012 Sonatype, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sonatype, Inc. - initial API and implementation
- *******************************************************************************/
-package org.eclipse.aether.repository;
-
-import java.util.Map;
-
-/**
- * The authentication to use for accessing a protected resource. This acts basically as an extensible callback mechanism
- * from which network operations can request authentication data like username and password when needed.
- */
-public interface Authentication
-{
-
- /**
- * Fills the given authentication context with the data from this authentication callback. To do so, implementors
- * have to call {@link AuthenticationContext#put(String, Object)}.
- *
- * The {@code key} parameter supplied to this method acts merely as a hint for interactive callbacks that want to
- * prompt the user for only that authentication data which is required. Implementations are free to ignore this
- * parameter and put all the data they have into the authentication context at once.
- *
- * @param context The authentication context to populate, must not be {@code null}.
- * @param key The key denoting a specific piece of authentication data that is being requested for a network
- * operation, may be {@code null}.
- * @param data Any (read-only) extra data in form of key value pairs that might be useful when getting the
- * authentication data, may be {@code null}.
- */
- void fill( AuthenticationContext context, String key, Map data );
-
- /**
- * Updates the given digest with data from this authentication callback. To do so, implementors have to call the
- * {@code update()} methods in {@link AuthenticationDigest}.
- *
- * @param digest The digest to update, must not be {@code null}.
- */
- void digest( AuthenticationDigest digest );
-
-}