Package org.apache.syncope.core.persistence.beans

Examples of org.apache.syncope.core.persistence.beans.ExternalResource.addMapping()


        mapping.setResource(resource);
        mapping.setAccountid(true);
        mapping.setIntAttrName("fullname");
        mapping.setIntMappingType(IntMappingType.UserSchema);

        resource.addMapping(mapping);

        mapping = new SchemaMapping();
        mapping.setResource(resource);
        mapping.setIntAttrName("icon");
        mapping.setExtAttrName("icon");
View Full Code Here


        mapping.setResource(resource);
        mapping.setIntAttrName("icon");
        mapping.setExtAttrName("icon");
        mapping.setIntMappingType(IntMappingType.RoleSchema);

        resource.addMapping(mapping);

        mapping = new SchemaMapping();
        mapping.setResource(resource);
        mapping.setIntAttrName("mderiveddata");
        mapping.setExtAttrName("mderiveddata");
View Full Code Here

        mapping.setResource(resource);
        mapping.setIntAttrName("mderiveddata");
        mapping.setExtAttrName("mderiveddata");
        mapping.setIntMappingType(IntMappingType.MembershipDerivedSchema);

        resource.addMapping(mapping);

        // save the resource
        ExternalResource actual = resourceDAO.save(resource);

        assertNotNull(actual);
View Full Code Here

        accountId.setAccountid(true);
        accountId.setExtAttrName("username");
        accountId.setIntAttrName("fullname");
        accountId.setIntMappingType(IntMappingType.SyncopeUserId);

        resource.addMapping(accountId);

        ConnInstance connector = resourceDAO.find("ws-target-resource-1").getConnector();

        resource.setConnector(connector);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.