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 ObjectgetAttribute(String name)Deprecated.AttributeListgetAttributes(String[] names)Deprecated.StringgetAuthConfig()Deprecated.Get the resource path to the JAAS login configuration file to use.ConfigurationgetConfiguration(Configuration currentConfig)Deprecated.Return the Configuration instance managed by this mbean.MBeanInfogetMBeanInfo()Deprecated.Objectinvoke(String method, Object[] args, String[] signature)Deprecated.voidsetAttribute(Attribute attribute)Deprecated.AttributeListsetAttributes(AttributeList attributeList)Deprecated.voidsetAuthConfig(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:
getAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
getAttributes
public AttributeList getAttributes(String[] names)
Deprecated.- Specified by:
getAttributesin interfaceDynamicMBean
-
getMBeanInfo
public MBeanInfo getMBeanInfo()
Deprecated.- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
invoke
public Object invoke(String method, Object[] args, String[] signature) throws MBeanException, ReflectionException
Deprecated.- Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
Deprecated.- Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
setAttributes
public AttributeList setAttributes(AttributeList attributeList)
Deprecated.- Specified by:
setAttributesin interfaceDynamicMBean
-
-