Class X509IvoaAuthScheme
java.lang.Object
uk.ac.starlink.auth.IvoaAuthScheme
uk.ac.starlink.auth.X509IvoaAuthScheme
- All Implemented Interfaces:
AuthScheme
IvoaAuthScheme concrete subclass for working with X509 certificates.
This implements the "ivoa_x509" scheme. An X509 certificate is retrieved from the login URL in PEM format and used for subsequent HTTPS connections.
- Since:
- 6 May 2022
- Author:
- Mark Taylor
-
Nested Class Summary
Nested classes/interfaces inherited from class IvoaAuthScheme
IvoaAuthScheme.AuthReader<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final X509IvoaAuthSchemeSingleton instance.static final StringName and identifier for this scheme ("ivoa_x509").Fields inherited from class IvoaAuthScheme
ACCESSURL_PARAM, STANDARDID_PARAM -
Method Summary
Modifier and TypeMethodDescriptioncreateContextFactory(LoginProtocol loginProto, URL loginUrl, URL challengeUrl) Creates a ContextFactory for this scheme with a given login protocol instance.Methods inherited from class IvoaAuthScheme
createContextFactory, getName, getSuccessResponse, readAuth
-
Field Details
-
INSTANCE
Singleton instance. -
SCHEME_NAME
-
-
Method Details
-
createContextFactory
public ContextFactory createContextFactory(LoginProtocol loginProto, URL loginUrl, URL challengeUrl) Description copied from class:IvoaAuthSchemeCreates a ContextFactory for this scheme with a given login protocol instance. The return value should generally not be null, since if it's got as far as this call, the challenge looks like it's intended for this scheme.- Specified by:
createContextFactoryin classIvoaAuthScheme- Parameters:
loginProto- login protocolloginUrl- login URLchallengeUrl- URL from which the challenge was received- Returns:
- context factory
-