org.globus.net
Class GSIURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by org.globus.net.GSIURLConnection
Direct Known Subclasses:
GSIHttpURLConnection

public abstract class GSIURLConnection
extends java.net.URLConnection


Field Summary
protected  Authorization authorization
           
protected  org.ietf.jgss.GSSCredential credentials
           
protected  int delegationType
           
static java.lang.String GSS_MODE_PROPERTY
           
protected  java.lang.Integer gssMode
           
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
protected GSIURLConnection(java.net.URL url)
          Subclasses must overwrite.
 
Method Summary
abstract  void disconnect()
           
 Authorization getAuthorization()
           
 org.ietf.jgss.GSSCredential getCredentials()
           
 int getDelegationType()
           
protected  org.ietf.jgss.GSSName getExpectedName()
           
 java.lang.Integer getGSSMode()
           
 void setAuthorization(Authorization auth)
           
 void setCredentials(org.ietf.jgss.GSSCredential credentials)
           
 void setDelegationType(int delegationType)
           
 void setGSSMode(java.lang.Integer mode)
           
 void setRequestProperty(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, connect, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GSS_MODE_PROPERTY

public static final java.lang.String GSS_MODE_PROPERTY
See Also:
Constant Field Values

credentials

protected org.ietf.jgss.GSSCredential credentials

authorization

protected Authorization authorization

delegationType

protected int delegationType

gssMode

protected java.lang.Integer gssMode
Constructor Detail

GSIURLConnection

protected GSIURLConnection(java.net.URL url)
Subclasses must overwrite.

Method Detail

disconnect

public abstract void disconnect()

setGSSMode

public void setGSSMode(java.lang.Integer mode)

getGSSMode

public java.lang.Integer getGSSMode()

setCredentials

public void setCredentials(org.ietf.jgss.GSSCredential credentials)

getCredentials

public org.ietf.jgss.GSSCredential getCredentials()

setAuthorization

public void setAuthorization(Authorization auth)

getAuthorization

public Authorization getAuthorization()

setDelegationType

public void setDelegationType(int delegationType)

getDelegationType

public int getDelegationType()

getExpectedName

protected org.ietf.jgss.GSSName getExpectedName()
                                         throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException

setRequestProperty

public void setRequestProperty(java.lang.String key,
                               java.lang.String value)
Overrides:
setRequestProperty in class java.net.URLConnection


Copyright © 2013. All Rights Reserved.