public class BasicArtemisAuthModule extends Object implements org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManager
Privilege for information on authentication, authorisation and caching
A default user is used for anonymous (non-authenticated) connections.
Specify a default user (and associated roles) in hornetq-users.xml. If no
default user is configured, anonymous connections will be rejected.| Constructor and Description |
|---|
BasicArtemisAuthModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSuperUser(String username,
String password)
Determines if no restrictions should be applied to the specified user,
which can mean either that privileges are disabled (everyone has all
privilieges), or that the user is an in-process user.
|
boolean |
validateUser(String username,
String password) |
boolean |
validateUserAndRole(String username,
String password,
Set<org.apache.activemq.artemis.core.security.Role> configuredRoles,
org.apache.activemq.artemis.core.security.CheckType checkType) |
public boolean isSuperUser(String username, String password)
username - password - Privilege)
or if username and password match a super user.public boolean validateUser(String username, String password)
validateUser in interface org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManagerpublic boolean validateUserAndRole(String username, String password, Set<org.apache.activemq.artemis.core.security.Role> configuredRoles, org.apache.activemq.artemis.core.security.CheckType checkType)
validateUserAndRole in interface org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManagerconfiguredRoles - - Set of roles configured for the component being accessed.checkType - - Permission being sought.Copyright © 2018 Space Applications Services. All rights reserved.