Package org.forgerock.openig.security
Class TrustAllManager
java.lang.Object
org.forgerock.openig.security.TrustAllManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
Trust all certificates that this class is asked to check.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Creates and initializes a trust-all manager in a heap environment. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] certificates, String authType) void
checkServerTrusted
(X509Certificate[] certificates, String authType)
-
Constructor Details
-
TrustAllManager
public TrustAllManager()
-
-
Method Details
-
checkClientTrusted
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-