this.passwordValidationCallback = new PasswordValidationCallback(passCallback.getSubject(),
passCallback.getUsername(), passCallback.getPassword());
}
} else if (callback instanceof GroupPrincipalCallback) {
if (this.groupPrincipalCallback == null) {
GroupPrincipalCallback groupCallback = (GroupPrincipalCallback) callback;
this.groupPrincipalCallback = new GroupPrincipalCallback(groupCallback.getSubject(),
groupCallback.getGroups());
}
} else
WebLogger.WEB_SECURITY_LOGGER.tracef("Callback %s not supported", callback.getClass().getCanonicalName());
}
}