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 |
|---|---|
String |
authenticate(String user,
String password,
X509Certificate[] certificates) |
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 nullpublic boolean isSecurityEnabled()
isSecurityEnabled in interface SecurityStorepublic void stop()
stop in interface SecurityStorepublic String authenticate(String user, String password, X509Certificate[] certificates) throws Exception
authenticate in interface SecurityStoreExceptionpublic void check(SimpleString address, CheckType checkType, SecurityAuth session) throws Exception
check in interface SecurityStoreExceptionpublic void onChange()
onChange in interface HierarchicalRepositoryChangeListenerCopyright © 2018 JBoss by Red Hat. All rights reserved.