edu.internet2.middleware.grouper.app.duo.DuoProvisoningConfigurationValidation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper Show documentation
Show all versions of grouper Show documentation
Internet2 Groups Management Toolkit
package edu.internet2.middleware.grouper.app.duo;
import java.util.Collection;
import edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningConfigurationValidation;
import edu.internet2.middleware.grouper.util.GrouperUtil;
public class DuoProvisoningConfigurationValidation extends GrouperProvisioningConfigurationValidation {
@Override
public Collection validateGroupAttributeNamesAllowed() {
return GrouperUtil.toSet("description");
}
@Override
public Collection validateGroupAttributeNamesRequired() {
return GrouperUtil.toSet("name", "id");
}
@Override
public boolean validateGroupAttributesRequireString() {
return true;
}
@Override
public Collection validateEntityAttributeNamesAllowed() {
return GrouperUtil.toSet("alias1", "alias2", "alias3", "alias4", "name", "email", "firstName", "lastName");
}
@Override
public Collection validateEntityAttributeNamesRequired() {
return GrouperUtil.toSet("id", "loginId");
}
@Override
public boolean validateEntityAttributesRequireString() {
return true;
}
}