org.apache.geronimo.security.jaas
Class LoginModuleGBean
java.lang.Object
org.apache.geronimo.security.jaas.LoginModuleGBean
- All Implemented Interfaces:
- LoginModuleSettings
public class LoginModuleGBean
- extends Object
- implements LoginModuleSettings
A GBean that wraps a LoginModule, plus options to configure the LoginModule.
If you want to deploy the same LoginModule with different options, you need
more than one of these GBeans. But if you want two security realms to refer
to exactly the same login module configuration, you can have both realms
refer to a single login module GBean.
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
LoginModuleGBean
public LoginModuleGBean(String loginModuleClass,
String objectName,
boolean serverSide,
boolean wrapPrincipals,
ClassLoader classLoader)
getLoginDomainName
public String getLoginDomainName()
- Specified by:
getLoginDomainName
in interface LoginModuleSettings
setLoginDomainName
public void setLoginDomainName(String loginDomainName)
- Specified by:
setLoginDomainName
in interface LoginModuleSettings
getOptions
public Properties getOptions()
- Specified by:
getOptions
in interface LoginModuleSettings
setOptions
public void setOptions(Properties options)
- Specified by:
setOptions
in interface LoginModuleSettings
getLoginModuleClass
public String getLoginModuleClass()
- Specified by:
getLoginModuleClass
in interface LoginModuleSettings
setLoginModuleClass
public void setLoginModuleClass(String loginModuleClass)
- Specified by:
setLoginModuleClass
in interface LoginModuleSettings
getObjectName
public String getObjectName()
isServerSide
public boolean isServerSide()
- Specified by:
isServerSide
in interface LoginModuleSettings
setServerSide
public void setServerSide(boolean serverSide)
- Specified by:
setServerSide
in interface LoginModuleSettings
isWrapPrincipals
public boolean isWrapPrincipals()
- Specified by:
isWrapPrincipals
in interface LoginModuleSettings
setWrapPrincipals
public void setWrapPrincipals(boolean wrapPrincipals)
- Specified by:
setWrapPrincipals
in interface LoginModuleSettings
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface LoginModuleSettings
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.