String user = info.getName();
String credential = null;
if (info instanceof DefaultUserInfoImpl)
{
DefaultUserInfoImpl dinfo = (DefaultUserInfoImpl) info;
Vector credentials = new Vector(1);
// Indicate what kind of credentials we received.
if (dinfo.hasPassword())
{
credentials.addElement("password");
}
if (dinfo.hasCertificates())
{
credentials.addElement("certificates");
}
if (dinfo instanceof SSLUserInfo)
{