Class X509TlsKeyStoreResolver
java.lang.Object
com.irurueta.authserver.authorization.api.web.x509.X509TlsKeyStoreResolver
Decides which key store holds the server certificate of the dedicated TLS port: the configured one or, under the
dev profile and with none configured, the generated one. Anything else is a configuration error that stops
the startup, so the port is never opened with a certificate nobody chose.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.springframework.beans.factory.ObjectProvider<DevX509KeyStore> The generator of the development key store, present only under thedevprofile.private final X509PropertiesSettings of the sign-in with a certificate. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
properties
Settings of the sign-in with a certificate. -
developmentKeyStore
The generator of the development key store, present only under thedevprofile.
-
-
Constructor Details
-
X509TlsKeyStoreResolver
public X509TlsKeyStoreResolver()
-
-
Method Details
-
resolve
Finds the key store.- Returns:
- the key store.
- Throws:
IllegalStateException- if none is configured and the development one is not available.
-