Class GSIPost49ClientRequestHandler
- java.lang.Object
-
- org.dcache.xrootd.plugins.authn.gsi.GSIRequestHandler
-
- org.dcache.xrootd.plugins.authn.gsi.GSIClientRequestHandler
-
- org.dcache.xrootd.plugins.authn.gsi.post49.GSIPost49ClientRequestHandler
-
public class GSIPost49ClientRequestHandler extends GSIClientRequestHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classGSIPost49ClientRequestHandler.PxyreqResponseBuckets-
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, CERT_AUTH_KEY, challenge, CHALLENGE_BYTES, credentialManager, CRYPTO_MODE, CRYPTO_MODE_NO_PAD, dhSession, ENCRYPTION_KEY, 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, VERSION_KEY
-
-
Constructor Summary
Constructors Constructor Description GSIPost49ClientRequestHandler(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, GSIBucketUtils.BucketData data, io.netty.channel.ChannelHandlerContext ctx)protected voidloadClientCredential()protected booleanusePadded()protected java.lang.StringvalidateCiphers(java.util.Map<XrootdSecurityProtocol.BucketType,GSIBucket> bucketMap)-
Methods inherited from class org.dcache.xrootd.plugins.authn.gsi.GSIClientRequestHandler
getSigverEncoder, handleCertReqStep, handleCertStep, validateCertificate, 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
-
GSIPost49ClientRequestHandler
public GSIPost49ClientRequestHandler(GSICredentialManager credentialManager, XrootdTpcClient client)
-
-
Method Detail
-
getProtocolVersion
public int getProtocolVersion()
- Specified by:
getProtocolVersionin classGSIRequestHandler
-
handleAuthenticationError
protected void handleAuthenticationError(InboundErrorResponse response) throws XrootdException
- Specified by:
handleAuthenticationErrorin classGSIClientRequestHandler- Throws:
XrootdException
-
handleCertStep
public OutboundAuthenticationRequest handleCertStep(InboundAuthenticationResponse response, GSIBucketUtils.BucketData data, 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
-
loadClientCredential
protected void loadClientCredential() throws XrootdException- Specified by:
loadClientCredentialin classGSIClientRequestHandler- Throws:
XrootdException
-
usePadded
protected boolean usePadded()
- Specified by:
usePaddedin classGSIClientRequestHandler
-
validateCiphers
protected java.lang.String validateCiphers(java.util.Map<XrootdSecurityProtocol.BucketType,GSIBucket> bucketMap) throws XrootdException
- Overrides:
validateCiphersin classGSIClientRequestHandler- Throws:
XrootdException
-
-