public abstract class GSIURLConnection
extends java.net.URLConnection
Modifier and Type | Field and Description |
---|---|
protected Authorization |
authorization |
protected org.ietf.jgss.GSSCredential |
credentials |
protected int |
delegationType |
static java.lang.String |
GSS_MODE_PROPERTY |
protected java.lang.Integer |
gssMode |
Modifier | Constructor and Description |
---|---|
protected |
GSIURLConnection(java.net.URL url)
Subclasses must overwrite.
|
Modifier and Type | Method and Description |
---|---|
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) |
addRequestProperty, connect, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, 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
public static final java.lang.String GSS_MODE_PROPERTY
protected org.ietf.jgss.GSSCredential credentials
protected Authorization authorization
protected int delegationType
protected java.lang.Integer gssMode
protected GSIURLConnection(java.net.URL url)
public abstract void disconnect()
public void setGSSMode(java.lang.Integer mode)
public java.lang.Integer getGSSMode()
public void setCredentials(org.ietf.jgss.GSSCredential credentials)
public org.ietf.jgss.GSSCredential getCredentials()
public void setAuthorization(Authorization auth)
public Authorization getAuthorization()
public void setDelegationType(int delegationType)
public int getDelegationType()
protected org.ietf.jgss.GSSName getExpectedName() throws org.ietf.jgss.GSSException
org.ietf.jgss.GSSException
public void setRequestProperty(java.lang.String key, java.lang.String value)
setRequestProperty
in class java.net.URLConnection
Copyright © 2012. All Rights Reserved.