Package interlok.http.apache.credentials
Class ConfiguredScope
- java.lang.Object
-
- interlok.http.apache.credentials.ConfiguredScope
-
- All Implemented Interfaces:
AuthScopeBuilder
@ComponentProfile(summary="Explicitly configured authentication scope") public class ConfiguredScope extends java.lang.Object implements AuthScopeBuilder
An explicitly configuredAuthScopebuilder.In the adapter configuration file this class is aliased as apache-http-configured-authentication-scope which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description ConfiguredScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.auth.AuthScopebuild()Build theAuthScopeinstance.java.lang.StringgetHost()The host associated with the scopejava.lang.IntegergetPort()The port associated with the scopejava.lang.StringgetRealm()The realm associated with the scopejava.lang.StringgetScheme()The scheme associated with the scopevoidsetHost(java.lang.String host)The host associated with the scopevoidsetPort(java.lang.Integer port)The port associated with the scopevoidsetRealm(java.lang.String realm)The realm associated with the scopevoidsetScheme(java.lang.String scheme)The scheme associated with the scope
-
-
-
Method Detail
-
build
public org.apache.http.auth.AuthScope build()
Description copied from interface:AuthScopeBuilderBuild theAuthScopeinstance.- Specified by:
buildin interfaceAuthScopeBuilder
-
getHost
public java.lang.String getHost()
The host associated with the scopeDefaults to
AuthScope.ANY_HOSTif not explicitly configured
-
setHost
public void setHost(java.lang.String host)
The host associated with the scopeDefaults to
AuthScope.ANY_HOSTif not explicitly configured
-
getPort
public java.lang.Integer getPort()
The port associated with the scopeDefaults to
AuthScope.ANY_PORTif not explicitly configured
-
setPort
public void setPort(java.lang.Integer port)
The port associated with the scopeDefaults to
AuthScope.ANY_PORTif not explicitly configured
-
getRealm
public java.lang.String getRealm()
The realm associated with the scopeDefaults to
AuthScope.ANY_REALMif not explicitly configured
-
setRealm
public void setRealm(java.lang.String realm)
The realm associated with the scopeDefaults to
AuthScope.ANY_REALMif not explicitly configured
-
getScheme
public java.lang.String getScheme()
The scheme associated with the scopeDefaults to
AuthScope.ANY_SCHEMEif not explicitly configured
-
setScheme
public void setScheme(java.lang.String scheme)
The scheme associated with the scopeDefaults to
AuthScope.ANY_SCHEMEif not explicitly configured
-
-