_logger.fine("scheme=" + scheme);
_logger.fine("requesting prompt=" + getRequestingPrompt());
_logger.fine("requesting protocol=" + getRequestingProtocol());
}
ClientSecurityContext cont = ClientSecurityContext.getCurrent();
subject = (cont != null) ? cont.getSubject() : null;
user = getUserName(subject);
password = getPassword(subject);
if(user == null || password == null) {
try {
if (_logger.isLoggable(Level.FINE)) {
_logger.fine("Initiating login again...");
}
securityInfo.doClientLogin(
loginType);
cont = ClientSecurityContext.getCurrent();
subject = cont.getSubject();
user = getUserName(subject);
password = getPassword(subject);
} catch(Exception e) {
_logger.log(Level.FINE, "Exception " + e.toString(), e);
return null;