|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.trustmanager.axis.AXISSocketFactory
public class AXISSocketFactory
The Axis socketfactory used for interfacing with axis 1.1 and 1.2.
Constructor Summary | |
---|---|
AXISSocketFactory(java.util.Hashtable attributes)
Creates a new instance of AxisSocketFactory |
Method Summary | |
---|---|
static void |
clearCurrentProperties()
Clears the thread specific properties. |
java.net.Socket |
create(java.lang.String host,
int port,
java.lang.StringBuffer otherHeaders,
org.apache.axis.components.net.BooleanHolder useFullURL)
Creates a socket and connects to the given host, verifying the certificate and possibly checking it against the hostname (depends on the hostname check variable in configuration). |
java.lang.Object |
createServerFactory()
Creates a server factory. |
static java.util.Properties |
getCurrentProperties()
Returns the current configuration properties. |
static void |
setCurrentProperties(java.util.Properties cp)
Sets the current properties for the socket factory. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AXISSocketFactory(java.util.Hashtable attributes)
attributes
- Method Detail |
---|
public static java.util.Properties getCurrentProperties()
public static void clearCurrentProperties()
public static void setCurrentProperties(java.util.Properties cp)
cp
- the Properties associated with the current threadpublic java.net.Socket create(java.lang.String host, int port, java.lang.StringBuffer otherHeaders, org.apache.axis.components.net.BooleanHolder useFullURL) throws java.lang.Exception
create
in interface org.apache.axis.components.net.SocketFactory
host
- The host to connect to.port
- The port to connect to.otherHeaders
- ignored.useFullURL
- ignored.
java.lang.Exception
- in case connection open fails, ssl handshaking fails or hostname verification fails.public java.lang.Object createServerFactory() throws java.lang.Exception
java.lang.Exception
- in case the socket creation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |