}
@Override
public UserAuthenticationData requestAuthentication(final UserAuthenticationData.Type[] types)
{
final UserAuthenticationData data = new UserAuthenticationData();
for(final UserAuthenticationData.Type type : types)
{
if (type == UserAuthenticationData.DOMAIN)
{
data.setData(UserAuthenticationData.DOMAIN, UserAuthenticatorUtils.toChar(domain));
}
else if (type == UserAuthenticationData.USERNAME)
{
data.setData(UserAuthenticationData.USERNAME, UserAuthenticatorUtils.toChar(username));
}
else if (type == UserAuthenticationData.PASSWORD)
{
data.setData(UserAuthenticationData.PASSWORD, UserAuthenticatorUtils.toChar(password));
}
else
{
if (LOG.isDebugEnabled())
{