org.apache.geronimo.console.core.security
Class PropertiesLoginModuleManager
java.lang.Object
org.apache.geronimo.console.core.security.PropertiesLoginModuleManager
- All Implemented Interfaces:
- GBeanLifecycle
public class PropertiesLoginModuleManager
- extends Object
- implements GBeanLifecycle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
PropertiesLoginModuleManager
public PropertiesLoginModuleManager(ServerInfo serverInfo,
LoginModuleSettings loginModule)
refreshAll
public void refreshAll()
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
getUsers
public String[] getUsers()
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
getGroups
public String[] getGroups()
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
addUserPrincipal
public void addUserPrincipal(Hashtable properties)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
removeUserPrincipal
public void removeUserPrincipal(String userPrincipal)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
updateUserPrincipal
public void updateUserPrincipal(Hashtable properties)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
addGroupPrincipal
public void addGroupPrincipal(Hashtable properties)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
removeGroupPrincipal
public void removeGroupPrincipal(String groupPrincipal)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
updateGroupPrincipal
public void updateGroupPrincipal(Hashtable properties)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
addToGroup
public void addToGroup(String userPrincipal,
String groupPrincipal)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
removeFromGroup
public void removeFromGroup(String userPrincipal,
String groupPrincipal)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
getPassword
public String getPassword(String userPrincipal)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
getGroupMembers
public Set getGroupMembers(String groupPrincipal)
throws GeronimoSecurityException
- Throws:
GeronimoSecurityException
doFail
public void doFail()
- Description copied from interface:
GBeanLifecycle
- Fails the GBean. This informs the GBean that it is about to transition to the failed state.
- Specified by:
doFail
in interface GBeanLifecycle
doStart
public void doStart()
throws Exception
- Description copied from interface:
GBeanLifecycle
- Starts the GBean. This informs the GBean that it is about to transition to the running state.
- Specified by:
doStart
in interface GBeanLifecycle
- Throws:
Exception
- if the target failed to start; this will cause a transition to the failed state
doStop
public void doStop()
throws Exception
- Description copied from interface:
GBeanLifecycle
- Stops the target. This informs the GBean that it is about to transition to the stopped state.
- Specified by:
doStop
in interface GBeanLifecycle
- Throws:
Exception
- if the target failed to stop; this will cause a transition to the failed state
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.