@Deprecated public class ActiveMQSecurityManagerImpl extends Object implements ActiveMQSecurityManager
Constructor and Description |
---|
ActiveMQSecurityManagerImpl()
Deprecated.
|
ActiveMQSecurityManagerImpl(org.apache.activemq.artemis.core.config.impl.SecurityConfiguration configuration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.activemq.artemis.core.config.impl.SecurityConfiguration |
getConfiguration()
Deprecated.
|
boolean |
validateUser(String username,
String password)
Deprecated.
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)
Deprecated.
is this a valid user and do they have the correct role
|
public ActiveMQSecurityManagerImpl()
public ActiveMQSecurityManagerImpl(org.apache.activemq.artemis.core.config.impl.SecurityConfiguration configuration)
public boolean validateUser(String username, String password)
ActiveMQSecurityManager
validateUser
in interface ActiveMQSecurityManager
username
- 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)
ActiveMQSecurityManager
validateUserAndRole
in interface ActiveMQSecurityManager
user
- the userpassword
- the users passwordroles
- the roles the user hascheckType
- the type of check to performpublic org.apache.activemq.artemis.core.config.impl.SecurityConfiguration getConfiguration()
Copyright © 2018 The Apache Software Foundation. All rights reserved.