public class GSIAuthenticationHandler extends Object implements AuthenticationHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
CRYPTO_MODE |
static String |
PROTOCOL |
static String |
PROTOCOL_VERSION |
static String |
SUPPORTED_CIPHER_ALGORITHMS
for now, we limit ourselves to AES-128 with CBC blockmode.
|
static String |
SUPPORTED_DIGESTS |
| Constructor and Description |
|---|
GSIAuthenticationHandler(eu.emi.security.authn.x509.X509Credential hostCredential,
eu.emi.security.authn.x509.X509CertChainValidator validator) |
| Modifier and Type | Method and Description |
|---|---|
XrootdResponse<AuthenticationRequest> |
authenticate(AuthenticationRequest request)
dispatcher function that initializes the diffie-hellman key agreement
session, checks the request for the correct protocol and calls the
actual handler functions.
|
String |
getProtocol() |
Subject |
getSubject() |
boolean |
isCompleted() |
public static final String PROTOCOL
public static final String PROTOCOL_VERSION
public static final String CRYPTO_MODE
public static final String SUPPORTED_CIPHER_ALGORITHMS
public static final String SUPPORTED_DIGESTS
public GSIAuthenticationHandler(eu.emi.security.authn.x509.X509Credential hostCredential,
eu.emi.security.authn.x509.X509CertChainValidator validator)
public XrootdResponse<AuthenticationRequest> authenticate(AuthenticationRequest request) throws XrootdException
authenticate in interface AuthenticationHandlerXrootdExceptionhandleCertReqStep(org.dcache.xrootd.protocol.messages.AuthenticationRequest),
handleCertStep(org.dcache.xrootd.protocol.messages.AuthenticationRequest)public String getProtocol()
getProtocol in interface AuthenticationHandlerpublic Subject getSubject()
getSubject in interface AuthenticationHandlerpublic boolean isCompleted()
isCompleted in interface AuthenticationHandlerCopyright © 2011–2016 dCache.org. All rights reserved.