Package org.jboss.security.plugins
Class DefaultLoginConfig
- java.lang.Object
-
- org.jboss.security.plugins.DefaultLoginConfig
-
- All Implemented Interfaces:
DynamicMBean
@Deprecated public class DefaultLoginConfig extends Object implements DynamicMBean
Deprecated.An mbean that uses the default JAAS login configuration file based implementation.- Version:
- $Revision$
- Author:
- Scott.Stark@jboss.org
-
-
Constructor Summary
Constructors Constructor Description DefaultLoginConfig()
Deprecated.Creates a new instance of DefaultLoginConfig
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
getAttribute(String name)
Deprecated.AttributeList
getAttributes(String[] names)
Deprecated.String
getAuthConfig()
Deprecated.Get the resource path to the JAAS login configuration file to use.Configuration
getConfiguration(Configuration currentConfig)
Deprecated.Return the Configuration instance managed by this mbean.MBeanInfo
getMBeanInfo()
Deprecated.Object
invoke(String method, Object[] args, String[] signature)
Deprecated.void
setAttribute(Attribute attribute)
Deprecated.AttributeList
setAttributes(AttributeList attributeList)
Deprecated.void
setAuthConfig(String authConfURL)
Deprecated.Set the resource path or URL to the JAAS login configuration file to use.
-
-
-
Method Detail
-
getAuthConfig
public String getAuthConfig()
Deprecated.Get the resource path to the JAAS login configuration file to use.
-
setAuthConfig
public void setAuthConfig(String authConfURL) throws MalformedURLException
Deprecated.Set the resource path or URL to the JAAS login configuration file to use. The default is "auth.conf".- Throws:
MalformedURLException
-
getConfiguration
public Configuration getConfiguration(Configuration currentConfig)
Deprecated.Return the Configuration instance managed by this mbean. This simply obtains the default Configuration by calling Configuration.getConfiguration. Note that this means this mbean must be the first pushed onto the config stack if it is used.- See Also:
Configuration
-
getAttribute
public Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException
Deprecated.- Specified by:
getAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
-
getAttributes
public AttributeList getAttributes(String[] names)
Deprecated.- Specified by:
getAttributes
in interfaceDynamicMBean
-
getMBeanInfo
public MBeanInfo getMBeanInfo()
Deprecated.- Specified by:
getMBeanInfo
in interfaceDynamicMBean
-
invoke
public Object invoke(String method, Object[] args, String[] signature) throws MBeanException, ReflectionException
Deprecated.- Specified by:
invoke
in interfaceDynamicMBean
- Throws:
MBeanException
ReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
Deprecated.- Specified by:
setAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
-
setAttributes
public AttributeList setAttributes(AttributeList attributeList)
Deprecated.- Specified by:
setAttributes
in interfaceDynamicMBean
-
-