public class X509IvoaAuthScheme extends IvoaAuthScheme
This implements the "ivoa_x509" scheme. An X509 certificate is retrieved from the login URL in PEM format and used for subsequent HTTPS connections.
IvoaAuthScheme.AuthReader<T>
Modifier and Type | Field and Description |
---|---|
static X509IvoaAuthScheme |
INSTANCE
Singleton instance.
|
static java.lang.String |
SCHEME_NAME
Name and identifier for this scheme ("ivoa_x509").
|
ACCESSURL_PARAM, STANDARDID_PARAM
Modifier and Type | Method and Description |
---|---|
ContextFactory |
createContextFactory(LoginProtocol loginProto,
java.net.URL loginUrl,
java.net.URL challengeUrl)
Creates a ContextFactory for this scheme with a given
login protocol instance.
|
createContextFactory, getName, getSuccessResponse, readAuth
public static final X509IvoaAuthScheme INSTANCE
public static final java.lang.String SCHEME_NAME
public ContextFactory createContextFactory(LoginProtocol loginProto, java.net.URL loginUrl, java.net.URL challengeUrl)
IvoaAuthScheme
createContextFactory
in class IvoaAuthScheme
loginProto
- login protocolloginUrl
- login URLchallengeUrl
- URL from which the challenge was received