org.apache.geronimo.security.realm.providers
Class SQLSecurityRealm

java.lang.Object
  extended byorg.apache.geronimo.security.realm.providers.AbstractSecurityRealm
      extended byorg.apache.geronimo.security.realm.providers.SQLSecurityRealm
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle, SecurityRealm
Direct Known Subclasses:
SQLSecurityRealmPasswordDigested

public class SQLSecurityRealm
extends AbstractSecurityRealm

Version:
$Revision: 1.7 $ $Date: 2004/07/12 06:07:51 $

Field Summary
static String CONNECTION_URL
           
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
static String GROUP_SELECT
           
static String PASSWORD
           
static String USER_SELECT
           
static String USERNAME
           
 
Fields inherited from interface org.apache.geronimo.security.realm.SecurityRealm
BASE_OBJECT_NAME
 
Constructor Summary
SQLSecurityRealm()
          Deprecated.  
SQLSecurityRealm(String realmName, String connectionURL, String user, String password, String userSelect, String groupSelect)
           
 
Method Summary
 void doStart()
           
 void doStop()
           
 AppConfigurationEntry getAppConfigurationEntry()
           
 String getConnectionURL()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 Set getGroupPrincipals()
           
 Set getGroupPrincipals(org.apache.regexp.RE regexExpression)
           
 String getGroupSelect()
           
 String getPassword()
           
 String getUser()
           
 Set getUserPrincipals()
           
 Set getUserPrincipals(org.apache.regexp.RE regexExpression)
           
 String getUserSelect()
           
 boolean isLoginModuleLocal()
           
 void refresh()
           
 void setConnectionURL(String connectionURL)
           
 void setGroupSelect(String groupSelect)
           
 void setPassword(String password)
           
 void setUser(String user)
           
 void setUserSelect(String userSelect)
           
 
Methods inherited from class org.apache.geronimo.security.realm.providers.AbstractSecurityRealm
doFail, getMaxLoginModuleAge, getRealmName, setMaxLoginModuleAge, setRealmName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_SELECT

public static final String USER_SELECT
See Also:
Constant Field Values

GROUP_SELECT

public static final String GROUP_SELECT
See Also:
Constant Field Values

CONNECTION_URL

public static final String CONNECTION_URL
See Also:
Constant Field Values

USERNAME

public static final String USERNAME
See Also:
Constant Field Values

PASSWORD

public static final String PASSWORD
See Also:
Constant Field Values

GBEAN_INFO

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

SQLSecurityRealm

public SQLSecurityRealm()
Deprecated.  


SQLSecurityRealm

public SQLSecurityRealm(String realmName,
                        String connectionURL,
                        String user,
                        String password,
                        String userSelect,
                        String groupSelect)
Method Detail

doStart

public void doStart()
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Overrides:
doStart in class AbstractSecurityRealm

doStop

public void doStop()
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Overrides:
doStop in class AbstractSecurityRealm

getConnectionURL

public String getConnectionURL()

setConnectionURL

public void setConnectionURL(String connectionURL)

getUser

public String getUser()

setPassword

public void setPassword(String password)

getPassword

public String getPassword()

setUser

public void setUser(String user)

getUserSelect

public String getUserSelect()

setUserSelect

public void setUserSelect(String userSelect)

getGroupSelect

public String getGroupSelect()

setGroupSelect

public void setGroupSelect(String groupSelect)

getGroupPrincipals

public Set getGroupPrincipals()
                       throws GeronimoSecurityException
Throws:
GeronimoSecurityException

getGroupPrincipals

public Set getGroupPrincipals(org.apache.regexp.RE regexExpression)
                       throws GeronimoSecurityException
Throws:
GeronimoSecurityException

getUserPrincipals

public Set getUserPrincipals()
                      throws GeronimoSecurityException
Throws:
GeronimoSecurityException

getUserPrincipals

public Set getUserPrincipals(org.apache.regexp.RE regexExpression)
                      throws GeronimoSecurityException
Throws:
GeronimoSecurityException

refresh

public void refresh()
             throws GeronimoSecurityException
Throws:
GeronimoSecurityException

getAppConfigurationEntry

public AppConfigurationEntry getAppConfigurationEntry()

isLoginModuleLocal

public boolean isLoginModuleLocal()

getGBeanInfo

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


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