org.apache.activemq.security
Class JaasAuthenticationPlugin

java.lang.Object
  extended by org.apache.activemq.security.JaasAuthenticationPlugin
All Implemented Interfaces:
BrokerPlugin
Direct Known Subclasses:
JaasCertificateAuthenticationPlugin, JaasDualAuthenticationPlugin

public class JaasAuthenticationPlugin
extends Object
implements BrokerPlugin

Adds a JAAS based authentication security plugin


Field Summary
protected  String configuration
           
protected  boolean discoverLoginConfig
           
 
Constructor Summary
JaasAuthenticationPlugin()
           
 
Method Summary
 String getConfiguration()
           
protected  void initialiseJaas()
           
 Broker installPlugin(Broker broker)
          Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.
 boolean isDiscoverLoginConfig()
           
 void setConfiguration(String jaasConfiguration)
          Sets the JAAS configuration domain name used
 void setDiscoverLoginConfig(boolean discoverLoginConfig)
          Enables or disables the auto-discovery of the login.config file for JAAS to initialize itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected String configuration

discoverLoginConfig

protected boolean discoverLoginConfig
Constructor Detail

JaasAuthenticationPlugin

public JaasAuthenticationPlugin()
Method Detail

installPlugin

public Broker installPlugin(Broker broker)
Description copied from interface: BrokerPlugin
Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.

Specified by:
installPlugin in interface BrokerPlugin

getConfiguration

public String getConfiguration()

setConfiguration

public void setConfiguration(String jaasConfiguration)
Sets the JAAS configuration domain name used


isDiscoverLoginConfig

public boolean isDiscoverLoginConfig()

setDiscoverLoginConfig

public void setDiscoverLoginConfig(boolean discoverLoginConfig)
Enables or disables the auto-discovery of the login.config file for JAAS to initialize itself. This flag is enabled by default such that if the java.security.auth.login.config system property is not defined then it is set to the location of the login.config file on the classpath.


initialiseJaas

protected void initialiseJaas()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.