|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.forgerock.maven.plugins.utils.TrustAllCertsX509TrustManager
public class TrustAllCertsX509TrustManager
In order to prevent HTTPS trust issues this X509TrustManager will make sure that there is no certificate
validation at all when making outgoing HTTPS connections.
| Constructor Summary | |
|---|---|
TrustAllCertsX509TrustManager()
|
|
| Method Summary | |
|---|---|
void |
checkClientTrusted(X509Certificate[] certs,
String authType)
An empty implementation of client cert check. |
void |
checkServerTrusted(X509Certificate[] certs,
String authType)
An empty implementation of server cert check. |
X509Certificate[] |
getAcceptedIssuers()
Since there is no certificate check at all, this returns an empty array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrustAllCertsX509TrustManager()
| Method Detail |
|---|
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManager
public void checkClientTrusted(X509Certificate[] certs,
String authType)
checkClientTrusted in interface X509TrustManagercerts - Peer certificate chain.authType - Authentication type based on the client certificate.
public void checkServerTrusted(X509Certificate[] certs,
String authType)
checkServerTrusted in interface X509TrustManagercerts - Peer certificate chain.authType - The key exhange algorithm used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||