public class ThreadLocalX509CredentialKeyManager extends Object implements X509KeyManager
X509KeyManager
which returns data based on the thread-local credential
instance obtained via ThreadLocalX509CredentialContext
.Modifier and Type | Field and Description |
---|---|
private String |
internalAlias
The alias representing the supplied static credential.
|
private org.slf4j.Logger |
log
Logger.
|
Constructor and Description |
---|
ThreadLocalX509CredentialKeyManager() |
Modifier and Type | Method and Description |
---|---|
String |
chooseClientAlias(String[] arg0,
Principal[] arg1,
Socket arg2) |
String |
chooseServerAlias(String arg0,
Principal[] arg1,
Socket arg2) |
X509Certificate[] |
getCertificateChain(String arg0) |
String[] |
getClientAliases(String arg0,
Principal[] arg1) |
PrivateKey |
getPrivateKey(String arg0) |
String[] |
getServerAliases(String arg0,
Principal[] arg1) |
private org.slf4j.Logger log
private String internalAlias
public String chooseClientAlias(String[] arg0, Principal[] arg1, Socket arg2)
chooseClientAlias
in interface X509KeyManager
public String[] getClientAliases(String arg0, Principal[] arg1)
getClientAliases
in interface X509KeyManager
public X509Certificate[] getCertificateChain(String arg0)
getCertificateChain
in interface X509KeyManager
public PrivateKey getPrivateKey(String arg0)
getPrivateKey
in interface X509KeyManager
public String chooseServerAlias(String arg0, Principal[] arg1, Socket arg2)
chooseServerAlias
in interface X509KeyManager
public String[] getServerAliases(String arg0, Principal[] arg1)
getServerAliases
in interface X509KeyManager
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.