Class GSIPre49ClientRequestHandler
- java.lang.Object
-
- org.dcache.xrootd.plugins.authn.gsi.GSIRequestHandler
-
- org.dcache.xrootd.plugins.authn.gsi.GSIClientRequestHandler
-
- org.dcache.xrootd.plugins.authn.gsi.pre49.GSIPre49ClientRequestHandler
-
public class GSIPre49ClientRequestHandler extends GSIClientRequestHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.dcache.xrootd.plugins.authn.gsi.GSIClientRequestHandler
GSIClientRequestHandler.CertRequestBuckets, GSIClientRequestHandler.CertResponseBuckets
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.plugins.authn.gsi.GSIClientRequestHandler
client, LOGGER
-
Fields inherited from class org.dcache.xrootd.plugins.authn.gsi.GSIRequestHandler
ASYNC_CIPHER_MODE, bufferHandler, challenge, CHALLENGE_BYTES, credentialManager, CRYPTO_MODE, CRYPTO_MODE_NO_PAD, dhSession, lastRequest, MAX_TIME_SKEW, noPadding, PROTO_PRE_DELEGATION, PROTO_WITH_DELEGATION, PROTOCOL, PROTOCOL_VERSION, PUBLIC_KEY_ALGORITHM, PUBLIC_KEY_FOOTER, PUBLIC_KEY_HEADER, RANDOM, rsaSession, SESSION_IV_DELIM, SESSION_IV_LEN, SUPPORTED_CIPHER_ALGORITHM, SUPPORTED_DIGESTS, SYNC_CIPHER_BLOCKSIZE, SYNC_CIPHER_MODE_PADDED, SYNC_CIPHER_MODE_UNPADDED, SYNC_CIPHER_NAME
-
-
Constructor Summary
Constructors Constructor Description GSIPre49ClientRequestHandler(GSICredentialManager credentialManager, XrootdTpcClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected eu.emi.security.authn.x509.X509CredentialgetClientCredential()protected java.util.Optional<java.lang.Integer>getClientOpts()intgetProtocolVersion()protected java.lang.StringgetSyncCipherMode()protected voidhandleAuthenticationError(InboundErrorResponse response)OutboundAuthenticationRequesthandleCertStep(InboundAuthenticationResponse response, io.netty.channel.ChannelHandlerContext ctx)protected voidloadClientCredential()protected booleanusePadded()-
Methods inherited from class org.dcache.xrootd.plugins.authn.gsi.GSIClientRequestHandler
getSigverEncoder, handleCertReqStep, handleCertStep, validateCertificate, validateCiphers, validateDigests
-
Methods inherited from class org.dcache.xrootd.plugins.authn.gsi.GSIRequestHandler
decryptMainBucketWithSessionKey, dhParams, extractChain, finalizeSessionKey, findSessionIVLen, generateChallengeString, isRequestExpired, postProcessMainBucket, processRSAVerification, updateLastRequest, validateCiphers, validateCryptoMode, validateDigests, verifySignedRTag
-
-
-
-
Constructor Detail
-
GSIPre49ClientRequestHandler
public GSIPre49ClientRequestHandler(GSICredentialManager credentialManager, XrootdTpcClient client)
-
-
Method Detail
-
getProtocolVersion
public int getProtocolVersion()
- Specified by:
getProtocolVersionin classGSIRequestHandler
-
handleCertStep
public OutboundAuthenticationRequest handleCertStep(InboundAuthenticationResponse response, io.netty.channel.ChannelHandlerContext ctx) throws XrootdException
- Specified by:
handleCertStepin classGSIClientRequestHandler- Throws:
XrootdException
-
getClientCredential
protected eu.emi.security.authn.x509.X509Credential getClientCredential()
- Specified by:
getClientCredentialin classGSIClientRequestHandler
-
getClientOpts
protected java.util.Optional<java.lang.Integer> getClientOpts()
- Specified by:
getClientOptsin classGSIClientRequestHandler
-
getSyncCipherMode
protected java.lang.String getSyncCipherMode()
- Specified by:
getSyncCipherModein classGSIRequestHandler
-
handleAuthenticationError
protected void handleAuthenticationError(InboundErrorResponse response) throws XrootdException
- Specified by:
handleAuthenticationErrorin classGSIClientRequestHandler- Throws:
XrootdException
-
loadClientCredential
protected void loadClientCredential()
- Specified by:
loadClientCredentialin classGSIClientRequestHandler
-
usePadded
protected boolean usePadded()
- Specified by:
usePaddedin classGSIClientRequestHandler
-
-