Class ArtifactoryAuthenticationProvider
- java.lang.Object
-
- com.cdancy.artifactory.rest.config.ArtifactoryAuthenticationProvider
-
- All Implemented Interfaces:
Provider<ArtifactoryAuthentication>,javax.inject.Provider<ArtifactoryAuthentication>
public class ArtifactoryAuthenticationProvider extends Object implements Provider<ArtifactoryAuthentication>
Provider for ArtifactoryAuthentication objects. The ArtifactoryAuthentication should be created ahead of time with this module simply handing it out to downstream objects for injection.
-
-
Constructor Summary
Constructors Constructor Description ArtifactoryAuthenticationProvider(ArtifactoryAuthentication creds)
-
-
-
Constructor Detail
-
ArtifactoryAuthenticationProvider
@Inject public ArtifactoryAuthenticationProvider(ArtifactoryAuthentication creds)
-
-
Method Detail
-
get
public ArtifactoryAuthentication get()
- Specified by:
getin interfaceProvider<ArtifactoryAuthentication>- Specified by:
getin interfacejavax.inject.Provider<ArtifactoryAuthentication>
-
-