All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.internet2.middleware.grouper.app.duo.DuoProvisoningConfigurationValidation Maven / Gradle / Ivy

There is a newer version: 5.12.2
Show newest version
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;
  }

  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy