public class ClientIdentityManager extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
ClientIdentityManager() |
Modifier and Type | Method and Description |
---|---|
static Date |
getCertificateExpiration() |
static Subject |
getCurrentIdentity()
a simple encapsulation to return the client's (current) identity
from the CertificateManager as a dataone Subject
|
static Session |
getCurrentSession()
a simple encapsulation to return a session object built from the
CertificateManager
|
static Subject |
setCurrentIdentity(String certificatePath)
uses the value of the property passed to setup the
CertificateManager to use the certificate found at that path
|
public static Subject getCurrentIdentity()
public static Session getCurrentSession() throws IOException, InstantiationException, IllegalAccessException, MarshallingException
MarshallingException
IllegalAccessException
InstantiationException
IOException
public static Subject setCurrentIdentity(String certificatePath)
public static Date getCertificateExpiration()
Copyright © 2020. All Rights Reserved.