Package org.platformlayer.auth.model

Examples of org.platformlayer.auth.model.Role


  // }

  public static List<Role> mapToRoles(List<RoleId> roles) {
    List<Role> roleList = Lists.newArrayList();
    for (RoleId role : roles) {
      Role xmlRole = new Role();
      xmlRole.name = role.getKey();
      roleList.add(xmlRole);
    }
    return roleList;
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.auth.model.Role

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.