Interface DistributionTransportSecretProvider
-
@ConsumerType public interface DistributionTransportSecretProviderA provider for
DistributionTransportSecretsSuch providers can be used by distribution agents implementations in order to plug in different types of
secretsto be used to authenticate the underlying Sling instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DistributionTransportSecretgetSecret(java.net.URI uri)Get aDistributionTransportSecretfor the specified URI
-
-
-
Method Detail
-
getSecret
@Nullable DistributionTransportSecret getSecret(java.net.URI uri)
Get aDistributionTransportSecretfor the specified URI- Parameters:
uri- - the uri than needs authentication- Returns:
- a
secret, ornullif that cannot be obtained
-
-