throw new UserDoesntFullfillEndEntityProfile("Unsupported Subject DN Field found in:" + dn);
}
if (subjectaltnames.existsOther()) {
throw new UserDoesntFullfillEndEntityProfile("Unsupported Subject Alternate Name Field found in:" + subjectaltname );
}
if (subjectdirattrs.existsOther()) {
throw new UserDoesntFullfillEndEntityProfile("Unsupported Subject Directory Attribute Field found in:" + subjectdirattr );
}
checkIfAllRequiredFieldsExists(subjectdnfields, subjectaltnames, subjectdirattrs, username, email);
// Make sure that there are enough fields to cover all required in profile
checkIfForIllegalNumberOfFields(subjectdnfields, subjectaltnames, subjectdirattrs);