org.apache.geronimo.security.jaas
Class ServerRealmConfigurationEntry
java.lang.Object
org.apache.geronimo.security.jaas.ServerRealmConfigurationEntry
- All Implemented Interfaces:
- ConfigurationEntryFactory
public class ServerRealmConfigurationEntry
- extends Object
- implements ConfigurationEntryFactory
Creates a LoginModule configuration that will connect a server-side
component to a security realm. The same thing could be done with a
LoginModuleGBean and a DirectConfigurationEntry, but this method saves some
configuration effort.
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
ServerRealmConfigurationEntry
public ServerRealmConfigurationEntry()
ServerRealmConfigurationEntry
public ServerRealmConfigurationEntry(String applicationConfigName,
String realmName,
org.apache.geronimo.kernel.Kernel kernel,
JaasLoginServiceMBean loginService)
getConfigurationName
public String getConfigurationName()
- Description copied from interface:
ConfigurationEntryFactory
- Used to obtain the configuration name to be associated with the generated
JaasLoginModuleConfiguration
.
- Specified by:
getConfigurationName
in interface ConfigurationEntryFactory
- Returns:
- the configuration name
isWrapPrincipals
public boolean isWrapPrincipals()
setWrapPrincipals
public void setWrapPrincipals(boolean wrapPrincipals)
generateConfiguration
public JaasLoginModuleConfiguration generateConfiguration()
- Description copied from interface:
ConfigurationEntryFactory
- Generate a
JaasLoginModuleConfiguration
- Specified by:
generateConfiguration
in interface ConfigurationEntryFactory
- Returns:
- a
JaasLoginModuleConfiguration
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.