public interface HornetQSecurityManager extends HornetQComponent
Modifier and Type | Method and Description |
---|---|
void |
addRole(String user,
String role)
adds a new role for a user.
|
void |
addUser(String user,
String password)
adds a new user
|
void |
removeRole(String user,
String role)
removes a role from a user
|
void |
removeUser(String user)
removes a user and any roles they may have.
|
void |
setDefaultUser(String username) |
boolean |
validateUser(String user,
String password)
is this a valid user.
|
boolean |
validateUserAndRole(String user,
String password,
Set<Role> roles,
CheckType checkType)
is this a valid user and do they have the correct role
|
isStarted, start, stop
boolean validateUser(String user, String password)
user
- the userpassword
- the users passwordboolean validateUserAndRole(String user, String password, Set<Role> roles, CheckType checkType)
user
- the userpassword
- the users passwordroles
- the roles the user hascheckType
- the type of check to performvoid addUser(String user, String password)
user
- the user to addpassword
- theusers passwordvoid removeUser(String user)
user
- the user to removevoid addRole(String user, String role)
user
- the userrole
- the role to addvoid removeRole(String user, String role)
user
- the userrole
- the role to removevoid setDefaultUser(String username)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.