* @param authType The authType requested for this chain.
* @return <code>true</code>, if the user approved the certificate chain.
*/
public boolean requestUserApproval( X509Certificate[] chain, String authType ){
CertificateValidationDialog validator = new CertificateValidationDialog( chain );
validator.setVisible( true );
boolean approved = validator.isChainApproved();
if( approved && validator.isApprovedPermanently() ){
X509Certificate cert = chain[ chain.length - 1 ];
try {
StringBuffer alias = new StringBuffer();