|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.security.SimpleAuthenticationPlugin
public class SimpleAuthenticationPlugin
A simple authentication plugin
| Constructor Summary | |
|---|---|
SimpleAuthenticationPlugin()
|
|
SimpleAuthenticationPlugin(List<?> users)
|
|
| Method Summary | |
|---|---|
Map<String,Set<Principal>> |
getUserGroups()
|
Map<String,String> |
getUserPasswords()
|
Broker |
installPlugin(Broker parent)
Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use. |
void |
setAnonymousAccessAllowed(boolean anonymousAccessAllowed)
|
void |
setAnonymousGroup(String anonymousGroup)
|
void |
setAnonymousUser(String anonymousUser)
|
void |
setUserGroups(Map<String,Set<Principal>> userGroups)
Sets the groups a user is in. |
void |
setUserPasswords(Map<String,String> userPasswords)
Sets the map indexed by user name with the value the password |
void |
setUsers(List<?> users)
Sets individual users for authentication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleAuthenticationPlugin()
public SimpleAuthenticationPlugin(List<?> users)
| Method Detail |
|---|
public Broker installPlugin(Broker parent)
BrokerPlugin
installPlugin in interface BrokerPluginpublic Map<String,Set<Principal>> getUserGroups()
public void setUsers(List<?> users)
public void setAnonymousAccessAllowed(boolean anonymousAccessAllowed)
public void setAnonymousUser(String anonymousUser)
public void setAnonymousGroup(String anonymousGroup)
public void setUserGroups(Map<String,Set<Principal>> userGroups)
public Map<String,String> getUserPasswords()
public void setUserPasswords(Map<String,String> userPasswords)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||