Package net.shibboleth.idp.authn.impl
Class X509ResourceCredentialConfig
java.lang.Object
net.shibboleth.idp.authn.impl.X509ResourceCredentialConfig
- All Implemented Interfaces:
CredentialConfig
Implementation of
CredentialConfig that loads trust and key material using a Resource.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ResourceName of the authentication certificate to use for the SSL connection.private ResourceName of the key to use for the SSL connection.private StringPassword to decrypt the authentication key.private ResourceName of the trust certificates to use for the SSL connection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAuthenticationCertificate(Resource resource) Set the authentication certificate resource.voidsetAuthenticationKey(Resource resource) Set the authentication key resource.voidsetAuthenticationKeyPassword(String password) Set the authentication key password.voidsetTrustCertificates(Resource resource) Set the trust certificates resource.
-
Field Details
-
trustCertificates
Name of the trust certificates to use for the SSL connection. -
authenticationCertificate
Name of the authentication certificate to use for the SSL connection. -
authenticationKey
Name of the key to use for the SSL connection. -
authenticationKeyPassword
Password to decrypt the authentication key.
-
-
Constructor Details
-
X509ResourceCredentialConfig
public X509ResourceCredentialConfig()
-
-
Method Details
-
setAuthenticationKeyPassword
Set the authentication key password.- Parameters:
password- the authentication key password
-
createSSLContextInitializer
- Specified by:
createSSLContextInitializerin interfaceCredentialConfig- Throws:
GeneralSecurityException