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