Package org.forgerock.openig.security
Class TrustAllManager
- java.lang.Object
-
- org.forgerock.openig.security.TrustAllManager
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
public class TrustAllManager extends Object implements X509TrustManager
Trust all certificates that this class is asked to check.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrustAllManager.HeapletCreates and initializes a trust-all manager in a heap environment.
-
Constructor Summary
Constructors Constructor Description TrustAllManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(X509Certificate[] certificates, String authType)voidcheckServerTrusted(X509Certificate[] certificates, String authType)X509Certificate[]getAcceptedIssuers()
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String authType)
- Specified by:
checkClientTrustedin interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType)
- Specified by:
checkServerTrustedin interfaceX509TrustManager
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
-