use of org.apache.syncope.common.lib.scim.SCIMUserConf in project syncope by apache.
the class SCIMFilterTest method setup.
@BeforeAll
public static void setup() {
SCIMConf conf = new SCIMConf();
conf.setUserConf(new SCIMUserConf());
conf.getUserConf().setTitle("title");
conf.getUserConf().setDisplayName("cn");
conf.getUserConf().setUserType("userType");
conf.getUserConf().setName(new SCIMUserNameConf());
conf.getUserConf().getName().setFamilyName("surname");
SCIMComplexConf<EmailCanonicalType> email = new SCIMComplexConf<>();
email.setValue("email");
email.setType(EmailCanonicalType.work);
conf.getUserConf().getEmails().add(email);
email = new SCIMComplexConf<>();
email.setValue("gmail");
email.setType(EmailCanonicalType.home);
conf.getUserConf().getEmails().add(email);
VISITOR = new SearchCondVisitor(Resource.User, conf);
}
Aggregations