|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HornetQSecurityManager

USe to validate whether a user has is valid to connect to the server and perform certain functions
| Method Summary | |
|---|---|
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<org.hornetq.core.security.Role> roles,
org.hornetq.core.security.CheckType checkType)
is this a valid user and do they have the correct role |
| Methods inherited from interface org.hornetq.core.server.HornetQComponent |
|---|
isStarted, start, stop |
| Method Detail |
|---|
boolean validateUser(String user,
String password)
user - the userpassword - the users password
boolean validateUserAndRole(String user,
String password,
Set<org.hornetq.core.security.Role> roles,
org.hornetq.core.security.CheckType checkType)
user - the userpassword - the users passwordroles - the roles the user hascheckType - the type of check to perform
void addUser(String user,
String password)
user - the user to addpassword - theusers passwordvoid removeUser(String user)
user - the user to remove
void addRole(String user,
String role)
user - the userrole - the role to add
void removeRole(String user,
String role)
user - the userrole - the role to removevoid setDefaultUser(String username)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||