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(X509Certificate hostCertificate,
PrivateKey privateKey,
org.globus.gsi.TrustedCertificates trustedCerts,
org.globus.gsi.CertificateRevocationLists crls) |
| Modifier and Type | Method and Description |
|---|---|
AbstractResponseMessage |
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(X509Certificate hostCertificate, PrivateKey privateKey, org.globus.gsi.TrustedCertificates trustedCerts, org.globus.gsi.CertificateRevocationLists crls)
hostCertificatePath - hostKeyPath - caCertDir - verifyHostCertificate - endpoint - CellEndpoint for communication with the login strategiespublic AbstractResponseMessage authenticate(AuthenticationRequest request) throws XrootdException
public String getProtocol()
getProtocol in interface AuthenticationHandlerpublic Subject getSubject()
getSubject in interface AuthenticationHandlerpublic boolean isCompleted()
isCompleted in interface AuthenticationHandlerCopyright © 2013 dCache.org. All Rights Reserved.