This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.distribution.api-0.1.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 02f05de40de0061c9f4066a863912da91e3d3156 Author: Marius Petria <[email protected]> AuthorDate: Thu Jan 29 13:20:55 2015 +0000 SLING-4368: transport secret providers should receive the transport uri git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1655647 13f79535-47bb-0310-9956-ffa450edef68 --- .../transport/DistributionTransportSecretProvider.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/sling/distribution/transport/DistributionTransportSecretProvider.java b/src/main/java/org/apache/sling/distribution/transport/DistributionTransportSecretProvider.java index ec6c3b9..289d275 100644 --- a/src/main/java/org/apache/sling/distribution/transport/DistributionTransportSecretProvider.java +++ b/src/main/java/org/apache/sling/distribution/transport/DistributionTransportSecretProvider.java @@ -22,6 +22,8 @@ import javax.annotation.CheckForNull; import aQute.bnd.annotation.ConsumerType; +import java.net.URI; + /** * A provider for {@link org.apache.sling.distribution.transport.DistributionTransportSecret}s * <p/> @@ -33,11 +35,12 @@ import aQute.bnd.annotation.ConsumerType; public interface DistributionTransportSecretProvider { /** - * Get a {@link org.apache.sling.distribution.transport.DistributionTransportSecret} + * Get a {@link org.apache.sling.distribution.transport.DistributionTransportSecret} for the specified URI * + * @param uri - the uri than needs authentication * @return a {@link org.apache.sling.distribution.transport.DistributionTransportSecret secret}, or {@code null} if * that cannot be obtained */ @CheckForNull - DistributionTransportSecret getSecret(); + DistributionTransportSecret getSecret(URI uri); } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
