public class HornetQSecurityManagerAS7 extends Object implements org.hornetq.spi.core.security.HornetQSecurityManager
Constructor and Description |
---|
HornetQSecurityManagerAS7(SecurityDomainContext sdc) |
Modifier and Type | Method and Description |
---|---|
void |
addRole(String s,
String s1) |
void |
addUser(String s,
String s1) |
boolean |
isStarted() |
void |
pushSecurityContext(Subject subject,
Principal principal,
Object credential) |
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(SecurityDomainContext sdc)
public boolean validateUser(String username, String password)
validateUser
in interface org.hornetq.spi.core.security.HornetQSecurityManager
public 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.HornetQSecurityManager
public void pushSecurityContext(Subject subject, Principal principal, Object credential)
public void addUser(String s, String s1)
addUser
in interface org.hornetq.spi.core.security.HornetQSecurityManager
public void removeUser(String s)
removeUser
in interface org.hornetq.spi.core.security.HornetQSecurityManager
public void addRole(String s, String s1)
addRole
in interface org.hornetq.spi.core.security.HornetQSecurityManager
public void removeRole(String s, String s1)
removeRole
in interface org.hornetq.spi.core.security.HornetQSecurityManager
public void setDefaultUser(String s)
setDefaultUser
in interface org.hornetq.spi.core.security.HornetQSecurityManager
public void start() throws Exception
start
in interface org.hornetq.core.server.HornetQComponent
Exception
public void stop() throws Exception
stop
in interface org.hornetq.core.server.HornetQComponent
Exception
public boolean isStarted()
isStarted
in interface org.hornetq.core.server.HornetQComponent
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.