net.sf.fikin.ant.httpclientanttask
Class AntAuthScope

java.lang.Object
  extended by net.sf.fikin.ant.httpclientanttask.AntAuthScope

public class AntAuthScope
extends java.lang.Object

Authentication scope

Example:

       <authscope host="..." port="..." realm="..." scheme="..." />
 
created on Dec 29, 2006

Since:
Version:
$Revision: 1.3 $
Author:
fiykov

Constructor Summary
AntAuthScope()
           
 
Method Summary
 org.apache.commons.httpclient.auth.AuthScope getAuthScope()
          get HttpClient AuthScope object for these settings
 java.lang.String getHost()
          get authentication scope host, by default any
 int getPort()
          get authentication scope port, by default any
 java.lang.String getRealm()
          get authentication scope realm, by default any
 java.lang.String getScheme()
          get authentication scope scheme, by default any
 void setHost(java.lang.String host)
          set authentication scope host, by default any
 void setPort(int port)
          set authentication scope port, by default any
 void setRealm(java.lang.String realm)
          set authentication scope realm, by default any
 void setScheme(java.lang.String scheme)
          set authentication scope scheme, by default any
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntAuthScope

public AntAuthScope()
Method Detail

setPort

public void setPort(int port)
set authentication scope port, by default any

Parameters:
port - to set
Ant Task Param Required:
false

getPort

public int getPort()
get authentication scope port, by default any

Returns:
port

setHost

public void setHost(java.lang.String host)
set authentication scope host, by default any

Parameters:
host -
Ant Task Param Required:
false

getHost

public java.lang.String getHost()
get authentication scope host, by default any

Returns:
host

setRealm

public void setRealm(java.lang.String realm)
set authentication scope realm, by default any

Parameters:
realm -
Ant Task Param Required:
false

getRealm

public java.lang.String getRealm()
get authentication scope realm, by default any

Returns:
realm

setScheme

public void setScheme(java.lang.String scheme)
set authentication scope scheme, by default any

Parameters:
scheme -
Ant Task Param Required:
false

getScheme

public java.lang.String getScheme()
get authentication scope scheme, by default any

Returns:
scheme

getAuthScope

public org.apache.commons.httpclient.auth.AuthScope getAuthScope()
get HttpClient AuthScope object for these settings



Copyright © 2003-2007 Nikolay Fiykov. All Rights Reserved.