Package org.openengsb.domain.userprojects.model

Examples of org.openengsb.domain.userprojects.model.User


        return role;
    }

    protected User createTestUser() {
        String username = "testUser";
        User user = new User(username);

        Credential password = new Credential();
        password.setType("password");
        password.setValue("password");
        user.getCredentials().addAll(Lists.newArrayList(password));

        user.getAttributes().addAll(Lists.newArrayList(createTestAttribute("attribute", "value")));

        return user;
    }
View Full Code Here

TOP

Related Classes of org.openengsb.domain.userprojects.model.User

Copyright © 2018 www.massapicom. 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.