Class ThreadLocalX509CredentialKeyManager
java.lang.Object
org.opensaml.security.x509.tls.impl.ThreadLocalX509CredentialKeyManager
- All Implemented Interfaces:
KeyManager,X509KeyManager
An implementation of
X509KeyManager which returns data based on the thread-local credential
instance obtained via ThreadLocalX509CredentialContext.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe alias representing the supplied static credential.private org.slf4j.LoggerLogger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchooseClientAlias(String[] arg0, Principal[] arg1, Socket arg2) chooseServerAlias(String arg0, Principal[] arg1, Socket arg2) getCertificateChain(String arg0) String[]getClientAliases(String arg0, Principal[] arg1) getPrivateKey(String arg0) String[]getServerAliases(String arg0, Principal[] arg1)
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger. -
internalAlias
The alias representing the supplied static credential.
-
-
Constructor Details
-
ThreadLocalX509CredentialKeyManager
public ThreadLocalX509CredentialKeyManager()
-
-
Method Details
-
chooseClientAlias
- Specified by:
chooseClientAliasin interfaceX509KeyManager
-
getClientAliases
- Specified by:
getClientAliasesin interfaceX509KeyManager
-
getCertificateChain
- Specified by:
getCertificateChainin interfaceX509KeyManager
-
getPrivateKey
- Specified by:
getPrivateKeyin interfaceX509KeyManager
-
chooseServerAlias
- Specified by:
chooseServerAliasin interfaceX509KeyManager
-
getServerAliases
- Specified by:
getServerAliasesin interfaceX509KeyManager
-