org.eclipse.emf.cdo.security
Class RealmUtil

java.lang.Object
  extended by org.eclipse.emf.cdo.security.RealmUtil

public final class RealmUtil
extends Object

Various static helper methods for dealing with realms.


Method Summary
static BasicEList<Group> allGroups(EList<SecurityItem> items)
           
static BasicEList<Permission> allPermissions(EList<SecurityItem> items)
           
static BasicEList<Role> allRoles(EList<SecurityItem> items)
           
static BasicEList<User> allUsers(EList<SecurityItem> items)
           
static Group findGroup(EList<SecurityItem> items, String groupID)
           
static Role findRole(EList<SecurityItem> items, String roleID)
           
static User findUser(EList<SecurityItem> items, String userID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findUser

public static User findUser(EList<SecurityItem> items,
                            String userID)

findGroup

public static Group findGroup(EList<SecurityItem> items,
                              String groupID)

findRole

public static Role findRole(EList<SecurityItem> items,
                            String roleID)

allUsers

public static BasicEList<User> allUsers(EList<SecurityItem> items)

allGroups

public static BasicEList<Group> allGroups(EList<SecurityItem> items)

allRoles

public static BasicEList<Role> allRoles(EList<SecurityItem> items)

allPermissions

public static BasicEList<Permission> allPermissions(EList<SecurityItem> items)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.