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 class
TrustAllManager.Heaplet
Creates 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 void
checkClientTrusted(X509Certificate[] certificates, String authType)
void
checkServerTrusted(X509Certificate[] certificates, String authType)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String authType)
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType)
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
-