org.apache.geronimo.console.util
Class SERealmGroupHelper

java.lang.Object
  extended by org.apache.geronimo.console.util.KernelHelper
      extended by org.apache.geronimo.console.util.RealmHelper
          extended by org.apache.geronimo.console.util.SERealmGroupHelper

public class SERealmGroupHelper
extends RealmHelper


Constructor Summary
SERealmGroupHelper()
           
 
Method Summary
static void addGroup(String groupName, String userList)
           
static void addGroup(String groupName, String[] userList)
           
static void deleteGroup(String groupName)
           
static String[] getGroups()
           
static Set getUsers(String groupName)
           
static boolean groupExists(String username)
           
static boolean isGroupMember(String groupName, String username)
           
static void updateGroup(String groupName, String userList)
           
static void updateGroup(String groupName, String[] userList)
           
 
Methods inherited from class org.apache.geronimo.console.util.KernelHelper
invoke, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SERealmGroupHelper

public SERealmGroupHelper()
Method Detail

getGroups

public static String[] getGroups()
                          throws Exception
Throws:
Exception

addGroup

public static void addGroup(String groupName,
                            String[] userList)
                     throws Exception
Throws:
Exception

updateGroup

public static void updateGroup(String groupName,
                               String[] userList)
                        throws Exception
Throws:
Exception

groupExists

public static boolean groupExists(String username)
                           throws Exception
Throws:
Exception

addGroup

public static void addGroup(String groupName,
                            String userList)
                     throws Exception
Throws:
Exception

updateGroup

public static void updateGroup(String groupName,
                               String userList)
                        throws Exception
Throws:
Exception

deleteGroup

public static void deleteGroup(String groupName)
                        throws Exception
Throws:
Exception

getUsers

public static Set getUsers(String groupName)
                    throws Exception
Throws:
Exception

isGroupMember

public static boolean isGroupMember(String groupName,
                                    String username)
                             throws Exception
Throws:
Exception


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.