Class ConfiguredScope

  • All Implemented Interfaces:
    AuthScopeBuilder

    @ComponentProfile(summary="Explicitly configured authentication scope")
    public class ConfiguredScope
    extends java.lang.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 
      Constructor Description
      ConfiguredScope()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.http.auth.AuthScope build()
      Build the AuthScope instance.
      java.lang.String getHost()
      The host associated with the scope
      java.lang.Integer getPort()
      The port associated with the scope
      java.lang.String getRealm()
      The realm associated with the scope
      java.lang.String getScheme()
      The scheme associated with the scope
      void setHost​(java.lang.String host)
      The host associated with the scope
      void setPort​(java.lang.Integer port)
      The port associated with the scope
      void setRealm​(java.lang.String realm)
      The realm associated with the scope
      void setScheme​(java.lang.String scheme)
      The scheme associated with the scope
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfiguredScope

        public ConfiguredScope()
    • Method Detail

      • build

        public org.apache.http.auth.AuthScope build()
        Description copied from interface: AuthScopeBuilder
        Build the AuthScope instance.
        Specified by:
        build in interface AuthScopeBuilder
      • getHost

        public java.lang.String getHost()
        The host associated with the scope

        Defaults to AuthScope.ANY_HOST if not explicitly configured

      • setHost

        public void setHost​(java.lang.String host)
        The host associated with the scope

        Defaults to AuthScope.ANY_HOST if not explicitly configured

      • getPort

        public java.lang.Integer getPort()
        The port associated with the scope

        Defaults to AuthScope.ANY_PORT if not explicitly configured

      • setPort

        public void setPort​(java.lang.Integer port)
        The port associated with the scope

        Defaults to AuthScope.ANY_PORT if not explicitly configured

      • getRealm

        public java.lang.String getRealm()
        The realm associated with the scope

        Defaults to AuthScope.ANY_REALM if not explicitly configured

      • setRealm

        public void setRealm​(java.lang.String realm)
        The realm associated with the scope

        Defaults to AuthScope.ANY_REALM if not explicitly configured

      • getScheme

        public java.lang.String getScheme()
        The scheme associated with the scope

        Defaults to AuthScope.ANY_SCHEME if not explicitly configured

      • setScheme

        public void setScheme​(java.lang.String scheme)
        The scheme associated with the scope

        Defaults to AuthScope.ANY_SCHEME if not explicitly configured