public class SecurityStoreImpl extends Object implements SecurityStore, HierarchicalRepositoryChangeListener
Constructor and Description |
---|
SecurityStoreImpl(HierarchicalRepository<Set<Role>> securityRepository,
ActiveMQSecurityManager securityManager,
long invalidationInterval,
boolean securityEnabled,
String managementClusterUser,
String managementClusterPassword,
NotificationService notificationService) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(String user,
String password) |
void |
check(SimpleString address,
CheckType checkType,
SecurityAuth session) |
boolean |
isSecurityEnabled() |
void |
onChange() |
void |
stop() |
public SecurityStoreImpl(HierarchicalRepository<Set<Role>> securityRepository, ActiveMQSecurityManager securityManager, long invalidationInterval, boolean securityEnabled, String managementClusterUser, String managementClusterPassword, NotificationService notificationService)
notificationService
- can be null
public boolean isSecurityEnabled()
isSecurityEnabled
in interface SecurityStore
public void stop()
stop
in interface SecurityStore
public void authenticate(String user, String password) throws Exception
authenticate
in interface SecurityStore
Exception
public void check(SimpleString address, CheckType checkType, SecurityAuth session) throws Exception
check
in interface SecurityStore
Exception
public void onChange()
onChange
in interface HierarchicalRepositoryChangeListener
Copyright © 2016 JBoss by Red Hat. All rights reserved.