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 Object
implements AuthScopeBuilder
An explicitly configured
AuthScope builder.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 -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.auth.AuthScopebuild()Build theAuthScopeinstance.getHost()The host associated with the scopegetPort()The port associated with the scopegetRealm()The realm associated with the scopeThe scheme associated with the scopevoidThe host associated with the scopevoidThe port associated with the scopevoidThe realm associated with the scopevoidThe scheme associated with the scope
-
Constructor Details
-
ConfiguredScope
public ConfiguredScope()
-
-
Method Details
-
build
public org.apache.http.auth.AuthScope build()Description copied from interface:AuthScopeBuilderBuild theAuthScopeinstance.- Specified by:
buildin interfaceAuthScopeBuilder
-
getHost
The host associated with the scopeDefaults to
AuthScope.ANY_HOSTif not explicitly configured -
setHost
The host associated with the scopeDefaults to
AuthScope.ANY_HOSTif not explicitly configured -
getPort
The port associated with the scopeDefaults to
AuthScope.ANY_PORTif not explicitly configured -
setPort
The port associated with the scopeDefaults to
AuthScope.ANY_PORTif not explicitly configured -
getRealm
The realm associated with the scopeDefaults to
AuthScope.ANY_REALMif not explicitly configured -
setRealm
The realm associated with the scopeDefaults to
AuthScope.ANY_REALMif not explicitly configured -
getScheme
The scheme associated with the scopeDefaults to
AuthScope.ANY_SCHEMEif not explicitly configured -
setScheme
The scheme associated with the scopeDefaults to
AuthScope.ANY_SCHEMEif not explicitly configured
-