org.apache.geronimo.console.core.security
Class PropertiesLoginModuleManager

java.lang.Object
  extended byorg.apache.geronimo.console.core.security.PropertiesLoginModuleManager

public class PropertiesLoginModuleManager
extends Object


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
PropertiesLoginModuleManager(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo, org.apache.geronimo.security.jaas.LoginModuleSettings loginModule)
           
 
Method Summary
 void addGroupPrincipal(Hashtable properties)
           
 void addToGroup(String userPrincipal, String groupPrincipal)
           
 void addUserPrincipal(Hashtable properties)
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 Set getGroupMembers(String groupPrincipal)
           
 String[] getGroups()
           
 String getPassword(String userPrincipal)
           
 String[] getUsers()
           
 void removeFromGroup(String userPrincipal, String groupPrincipal)
           
 void removeGroupPrincipal(String groupPrincipal)
           
 void removeUserPrincipal(String userPrincipal)
           
 void updateGroupPrincipal(Hashtable properties)
           
 void updateUserPrincipal(Hashtable properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

PropertiesLoginModuleManager

public PropertiesLoginModuleManager(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo,
                                    org.apache.geronimo.security.jaas.LoginModuleSettings loginModule)
Method Detail

getUsers

public String[] getUsers()
                  throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

getGroups

public String[] getGroups()
                   throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

addUserPrincipal

public void addUserPrincipal(Hashtable properties)
                      throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

removeUserPrincipal

public void removeUserPrincipal(String userPrincipal)
                         throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

updateUserPrincipal

public void updateUserPrincipal(Hashtable properties)
                         throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

addGroupPrincipal

public void addGroupPrincipal(Hashtable properties)
                       throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

removeGroupPrincipal

public void removeGroupPrincipal(String groupPrincipal)
                          throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

updateGroupPrincipal

public void updateGroupPrincipal(Hashtable properties)
                          throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

addToGroup

public void addToGroup(String userPrincipal,
                       String groupPrincipal)
                throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

removeFromGroup

public void removeFromGroup(String userPrincipal,
                            String groupPrincipal)
                     throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

getPassword

public String getPassword(String userPrincipal)
                   throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

getGroupMembers

public Set getGroupMembers(String groupPrincipal)
                    throws org.apache.geronimo.common.GeronimoSecurityException
Throws:
org.apache.geronimo.common.GeronimoSecurityException

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


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