Class InsecureTrustManagerFactory
java.lang.Object
javax.net.ssl.TrustManagerFactory
org.springframework.grpc.internal.InsecureTrustManagerFactory
A custom implementation of the TrustManagerFactory class that provides an insecure
trust manager. This trust manager does not perform any certificate validation and
accepts all certificates. It is intended for testing or development purposes only and
should not be used in production environments.
- Author:
- David Syer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TrustManagerFactorySingle instance of the factory. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TrustManagerFactory
getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getProvider, getTrustManagers, init, init
-
Field Details
-
INSTANCE
Single instance of the factory.
-
-
Constructor Details
-
InsecureTrustManagerFactory
protected InsecureTrustManagerFactory()
-