Class AsadminTrustManager

java.lang.Object
com.sun.enterprise.admin.util.AsadminTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public class AsadminTrustManager extends Object implements X509TrustManager
An implementation of X509TrustManager that provides basic support for Trust Management. It checks if the server is trusted and displays the certificate that was received from the server. The user is then prompted to confirm the certificate. If confirmed, the certificate is entered into the client side asadmintruststore (default name is ~/.gfclient/truststore). Once in the truststore, the user is never prompted to confirm a second time.