@Service(value=org.apache.sling.distribution.transport.DistributionTransportSecretProvider.class) @Property(name="webconsole.configurationFactory.nameHint", value="Secret provider name: {name}") public class UserCredentialsDistributionTransportSecretProvider extends Object implements org.apache.sling.distribution.transport.DistributionTransportSecretProvider
Modifier and Type | Field and Description |
---|---|
static String |
NAME
name of this component.
|
Constructor and Description |
---|
UserCredentialsDistributionTransportSecretProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.framework.BundleContext context,
Map<String,Object> config) |
protected void |
deactivate() |
org.apache.sling.distribution.transport.DistributionTransportSecret |
getSecret(URI uri) |
@Property(label="Name") public static final String NAME
public UserCredentialsDistributionTransportSecretProvider()
@Activate protected void activate(org.osgi.framework.BundleContext context, Map<String,Object> config)
@Deactivate protected void deactivate()
public org.apache.sling.distribution.transport.DistributionTransportSecret getSecret(URI uri)
getSecret
in interface org.apache.sling.distribution.transport.DistributionTransportSecretProvider
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.