public abstract class GSIServerRequestHandler extends GSIRequestHandler
| Modifier and Type | Class and Description |
|---|---|
protected class |
GSIServerRequestHandler.CertRequestBuckets |
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
protected Subject |
subject |
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| Modifier | Constructor and Description |
|---|---|
protected |
GSIServerRequestHandler(Subject subject,
GSICredentialManager credentialManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelHandshake() |
BufferDecrypter |
getDecrypter() |
abstract XrootdResponse<AuthenticationRequest> |
handleCertReqStep(AuthenticationRequest request) |
protected XrootdResponse<AuthenticationRequest> |
handleCertReqStep(AuthenticationRequest request,
boolean signDHParams,
XrootdSecurityProtocol.BucketType dhParamBucketType)
Handle the kXGC_certreq step.
|
abstract XrootdResponse<AuthenticationRequest> |
handleCertStep(AuthenticationRequest request) |
abstract XrootdResponse<AuthenticationRequest> |
handleSigPxyStep(AuthenticationRequest request) |
abstract boolean |
isFinished(AuthenticationRequest request) |
protected String |
validateCiphers(AuthenticationRequest request) |
protected String |
validateDigests(AuthenticationRequest request) |
decryptMainBucketWithSessionKey, dhParams, extractChain, finalizeSessionKey, findSessionIVLen, generateChallengeString, getProtocolVersion, getSyncCipherMode, isRequestExpired, postProcessMainBucket, processRSAVerification, updateLastRequest, validateCiphers, validateCryptoMode, validateDigests, verifySignedRTagprotected static org.slf4j.Logger LOGGER
protected final Subject subject
protected GSIServerRequestHandler(Subject subject, GSICredentialManager credentialManager) throws XrootdException
XrootdExceptionpublic BufferDecrypter getDecrypter()
public void cancelHandshake()
public abstract XrootdResponse<AuthenticationRequest> handleCertReqStep(AuthenticationRequest request) throws XrootdException
XrootdExceptionpublic abstract XrootdResponse<AuthenticationRequest> handleCertStep(AuthenticationRequest request) throws XrootdException
XrootdExceptionpublic abstract XrootdResponse<AuthenticationRequest> handleSigPxyStep(AuthenticationRequest request) throws XrootdException
XrootdExceptionpublic abstract boolean isFinished(AuthenticationRequest request)
protected XrootdResponse<AuthenticationRequest> handleCertReqStep(AuthenticationRequest request, boolean signDHParams, XrootdSecurityProtocol.BucketType dhParamBucketType) throws XrootdException
request - The received authentication requestsignDHParams - if true, sign using RSA private keydhParamBucketType - either kXRS_puk (pre-4.9) or kXRS_cipher (4.9+).XrootdExceptionprotected String validateCiphers(AuthenticationRequest request) throws XrootdException
XrootdExceptionprotected String validateDigests(AuthenticationRequest request) throws XrootdException
XrootdExceptionCopyright © 2011-2020 dCache.org. All Rights Reserved.