org.apache.activemq.security
Class SimpleAuthenticationPlugin

java.lang.Object
  extended by org.apache.activemq.security.SimpleAuthenticationPlugin
All Implemented Interfaces:
BrokerPlugin

public class SimpleAuthenticationPlugin
extends Object
implements BrokerPlugin

A simple authentication plugin

Version:
$Revision: 426366 $

Constructor Summary
SimpleAuthenticationPlugin()
           
 
Method Summary
 Map getUserGroups()
           
 Map getUserPasswords()
           
 Broker installPlugin(Broker broker)
          Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.
 void setUserGroups(Map userGroups)
          Sets the groups a user is in.
 void setUserPasswords(Map userPasswords)
          Sets the map indexed by user name with the value the password
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAuthenticationPlugin

public SimpleAuthenticationPlugin()
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

getUserGroups

public Map getUserGroups()

setUserGroups

public void setUserGroups(Map userGroups)
Sets the groups a user is in. The key is the user name and the value is a Set of groups


getUserPasswords

public Map getUserPasswords()

setUserPasswords

public void setUserPasswords(Map userPasswords)
Sets the map indexed by user name with the value the password



Copyright © 2011 Apache Software Foundation. All Rights Reserved.