addResponseControl(new PasswordExpiredControl());
}
else if (pwPolicyWarningType ==
PasswordPolicyWarningType.TIME_BEFORE_EXPIRATION)
{
addResponseControl(new PasswordExpiringControl(pwPolicyWarningValue));
}
else if (mustChangePassword)
{
addResponseControl(new PasswordExpiredControl());
}