|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.security.utils.HostCertificateReader
public class HostCertificateReader
Host Certificate reader
| Nested Class Summary | |
|---|---|
static class |
HostCertificateReader.ExpiredCredentialsException
Host credential already expired exception |
static class |
HostCertificateReader.IndefiniteLifetimeCredentialsException
Indefinite lifetime host credentials exception |
| Constructor Summary | |
|---|---|
HostCertificateReader()
|
|
| Method Summary | |
|---|---|
static String |
getHostCertificateCA()
Gets the CA of the host credentials of the GHN |
static String |
getHostCertificateDN()
Gets the DN of the host credentials of the GHN |
static int |
getHostCertificateLifetime()
Gets the remaining lifetime in seconds of the host credentials of the GHN |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HostCertificateReader()
| Method Detail |
|---|
public static int getHostCertificateLifetime()
throws org.globus.wsrf.security.SecurityException,
GSSException,
HostCertificateReader.ExpiredCredentialsException,
HostCertificateReader.IndefiniteLifetimeCredentialsException
org.globus.wsrf.security.SecurityException - if it is impossible to access the host credentials
GSSException - if it is impossible to detect the host credentials
HostCertificateReader.ExpiredCredentialsException - if the credentials are already expired
HostCertificateReader.IndefiniteLifetimeCredentialsException - if the credentials will never expire
IOException
public static String getHostCertificateDN()
throws org.globus.wsrf.security.SecurityException,
GSSException,
HostCertificateReader.ExpiredCredentialsException
org.globus.wsrf.security.SecurityException - if it is impossible to access the host credentials
GSSException - if it is impossible to detect the host credentials
HostCertificateReader.ExpiredCredentialsException - if the credentials are already expired
public static String getHostCertificateCA()
throws org.globus.wsrf.security.SecurityException,
GSSException,
Exception
org.globus.wsrf.security.SecurityException - if it is impossible to access the host credentials
GSSException - if it is impossible to detect the host credentials
HostCertificateReader.ExpiredCredentialsException - if the credentials are already expired
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||