public class HornetQSecurityManagerAS7 extends Object implements org.hornetq.spi.core.security.HornetQSecurityManager
| Constructor and Description |
|---|
HornetQSecurityManagerAS7(org.jboss.as.security.plugins.SecurityDomainContext sdc) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(String s,
String s1) |
void |
addUser(String s,
String s1) |
boolean |
isStarted() |
void |
removeRole(String s,
String s1) |
void |
removeUser(String s) |
void |
setDefaultUser(String s) |
void |
start() |
void |
stop() |
boolean |
validateUser(String username,
String password) |
boolean |
validateUserAndRole(String username,
String password,
Set<org.hornetq.core.security.Role> roles,
org.hornetq.core.security.CheckType checkType) |
public HornetQSecurityManagerAS7(org.jboss.as.security.plugins.SecurityDomainContext sdc)
public boolean validateUser(String username, String password)
validateUser in interface org.hornetq.spi.core.security.HornetQSecurityManagerpublic boolean validateUserAndRole(String username, String password, Set<org.hornetq.core.security.Role> roles, org.hornetq.core.security.CheckType checkType)
validateUserAndRole in interface org.hornetq.spi.core.security.HornetQSecurityManagerpublic void addUser(String s, String s1)
addUser in interface org.hornetq.spi.core.security.HornetQSecurityManagerpublic void removeUser(String s)
removeUser in interface org.hornetq.spi.core.security.HornetQSecurityManagerpublic void addRole(String s, String s1)
addRole in interface org.hornetq.spi.core.security.HornetQSecurityManagerpublic void removeRole(String s, String s1)
removeRole in interface org.hornetq.spi.core.security.HornetQSecurityManagerpublic void setDefaultUser(String s)
setDefaultUser in interface org.hornetq.spi.core.security.HornetQSecurityManagerpublic void start()
throws Exception
start in interface org.hornetq.core.server.HornetQComponentExceptionpublic void stop()
throws Exception
stop in interface org.hornetq.core.server.HornetQComponentExceptionpublic boolean isStarted()
isStarted in interface org.hornetq.core.server.HornetQComponentCopyright © 2015 JBoss by Red Hat. All rights reserved.