public class DefaultHTTPNegotiateAuthentication extends HTTPNegotiateAuthentication
Modifier and Type | Class and Description |
---|---|
private class |
DefaultHTTPNegotiateAuthentication.SVNKitCallbackHandler |
Modifier and Type | Field and Description |
---|---|
private org.ietf.jgss.GSSContext |
myGSSContext |
private org.ietf.jgss.GSSManager |
myGSSManager |
private org.ietf.jgss.Oid |
mySpnegoOid |
private javax.security.auth.Subject |
mySubject |
private byte[] |
myToken |
private int |
myTokenLength |
private static java.lang.String |
NEGOTIATE_TYPE_KERBEROS |
private static java.lang.String |
NEGOTIATE_TYPE_PROPERTY |
private static java.lang.String |
NEGOTIATE_TYPE_SPNEGO |
private static java.lang.Boolean |
ourIsNegotiateSupported |
private static java.util.Map<java.lang.String,org.ietf.jgss.Oid> |
ourOids |
Constructor and Description |
---|
DefaultHTTPNegotiateAuthentication() |
DefaultHTTPNegotiateAuthentication(DefaultHTTPNegotiateAuthentication prevAuth) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
authenticate() |
private static org.ietf.jgss.Oid |
getDefaultOID() |
private void |
initializeContext() |
private void |
initializeSubject() |
boolean |
isStarted() |
static boolean |
isSupported() |
boolean |
needsLogin() |
void |
respondTo(java.lang.String challenge) |
getAuthenticationScheme, getServerPrincipalName
clear, clear, getASCIIBytes, getBytes, getBytes, getChallengeParameter, getChallengeParameters, getPassword, getRawUserName, getUserName, isSchemeSupportedByServer, parseAuthParameters, setChallengeParameter, setCredentials, setPassword, setUserName
private static final java.lang.String NEGOTIATE_TYPE_PROPERTY
private static final java.lang.String NEGOTIATE_TYPE_SPNEGO
private static final java.lang.String NEGOTIATE_TYPE_KERBEROS
private static java.util.Map<java.lang.String,org.ietf.jgss.Oid> ourOids
private static volatile java.lang.Boolean ourIsNegotiateSupported
private org.ietf.jgss.GSSManager myGSSManager
private org.ietf.jgss.GSSContext myGSSContext
private org.ietf.jgss.Oid mySpnegoOid
private javax.security.auth.Subject mySubject
private byte[] myToken
private int myTokenLength
public DefaultHTTPNegotiateAuthentication(DefaultHTTPNegotiateAuthentication prevAuth)
public DefaultHTTPNegotiateAuthentication()
private static org.ietf.jgss.Oid getDefaultOID()
public static boolean isSupported()
public void respondTo(java.lang.String challenge)
respondTo
in class HTTPNegotiateAuthentication
private void initializeSubject()
private void initializeContext() throws org.ietf.jgss.GSSException
org.ietf.jgss.GSSException
public java.lang.String authenticate() throws SVNException
authenticate
in class HTTPAuthentication
SVNException
public boolean isStarted()
isStarted
in class HTTPNegotiateAuthentication
public boolean needsLogin()
needsLogin
in class HTTPNegotiateAuthentication