public class JAASSecurityManager extends Object implements ActiveMQSecurityManager
| Modifier and Type | Class and Description |
|---|---|
static class |
JAASSecurityManager.SimplePrincipal |
| Constructor and Description |
|---|
JAASSecurityManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
setCallbackHandler(CallbackHandler handler) |
void |
setConfiguration(Configuration config) |
void |
setConfigurationName(String configurationName) |
boolean |
validateUser(String user,
String password)
is this a valid user.
|
boolean |
validateUserAndRole(String user,
String password,
Set<org.apache.activemq.artemis.core.security.Role> roles,
org.apache.activemq.artemis.core.security.CheckType checkType)
is this a valid user and do they have the correct role
|
public boolean validateUser(String user, String password)
ActiveMQSecurityManagervalidateUser in interface ActiveMQSecurityManageruser - the userpassword - the users passwordpublic boolean validateUserAndRole(String user, String password, Set<org.apache.activemq.artemis.core.security.Role> roles, org.apache.activemq.artemis.core.security.CheckType checkType)
ActiveMQSecurityManagervalidateUserAndRole in interface ActiveMQSecurityManageruser - the userpassword - the users passwordroles - the roles the user hascheckType - the type of check to performpublic void setConfigurationName(String configurationName)
public void setCallbackHandler(CallbackHandler handler)
public void setConfiguration(Configuration config)
Copyright © 2015 The Apache Software Foundation. All rights reserved.