org.jboss.messaging.core.security.impl
Class SecurityStoreImpl
java.lang.Object
org.jboss.messaging.core.security.impl.SecurityStoreImpl
- All Implemented Interfaces:
- SecurityStore, HierarchicalRepositoryChangeListener
public class SecurityStoreImpl
- extends java.lang.Object
- implements SecurityStore, HierarchicalRepositoryChangeListener
The JBM SecurityStore implementation
- Version:
- $Revision: 7321 $
$Id: SecurityStoreImpl.java 7321 2009-06-12 16:53:59Z jmesnil $
- Author:
- Tim Fox, Andy Taylor
Parts based on old version by:, Peter Antman, Scott Stark, Ovidiu Feodorov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityStoreImpl
public SecurityStoreImpl(HierarchicalRepository<java.util.Set<Role>> securityRepository,
JBMSecurityManager securityManager,
long invalidationInterval,
boolean securityEnabled,
java.lang.String managementClusterUser,
java.lang.String managementClusterPassword,
NotificationService notificationService)
- Parameters:
notificationService
- can be null
authenticate
public void authenticate(java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Specified by:
authenticate
in interface SecurityStore
- Throws:
java.lang.Exception
check
public void check(SimpleString address,
CheckType checkType,
ServerSession session)
throws java.lang.Exception
- Specified by:
check
in interface SecurityStore
- Throws:
java.lang.Exception
onChange
public void onChange()
- Specified by:
onChange
in interface HierarchicalRepositoryChangeListener
Copyright © 2006 JBoss Inc. All Rights Reserved.