public class X509CertificateCredentials extends AbstractBaseCredentials implements Credentials
Credentials.Status| Constructor and Description |
|---|
X509CertificateCredentials(X509Certificate certificate) |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
getCertificate() |
String |
getUsername() |
void |
invalidate()
Invalidates the credential.
|
boolean |
isTrusted() |
void |
setTrusted(boolean trusted)
Indicates if the provided certificate should be trusted and perform the validation against the existence of
the principal.
|
void |
setUserName(String userName) |
getStatus, getValidatedAccount, setStatus, setValidatedAccountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStatus, getValidatedAccountpublic X509CertificateCredentials(X509Certificate certificate)
public X509Certificate getCertificate()
public String getUsername()
public void setUserName(String userName)
public void invalidate()
CredentialsInvalidates the credential.
invalidate in interface Credentialspublic void setTrusted(boolean trusted)
Indicates if the provided certificate should be trusted and perform the validation against the existence of the principal.
trusted - public boolean isTrusted()
Copyright © 2013. All Rights Reserved.