当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
SecurityManager (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
org.jboss.mq.security
Class SecurityManager
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.mx.util.JBossNotificationBroadcasterSupport
       org.jboss.system.ServiceMBeanSupport
org.jboss.system.ServiceMBeanSupport
           org.jboss.mq.server.jmx.InterceptorMBeanSupport
org.jboss.mq.server.jmx.InterceptorMBeanSupport
               org.jboss.mq.security.SecurityManager
org.jboss.mq.security.SecurityManager
- All Implemented Interfaces: 
- InterceptorMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, SecurityManagerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class SecurityManager- extends InterceptorMBeanSupport- implements SecurityManagerMBean
A JAAS based security manager for JBossMQ.
- Version:
- $Revision: 1.11.10.1 $
- Author:
- Peter Antman, Scott.Stark@jboss.org
 
| Fields inherited from class org.jboss.system.ServiceMBeanSupport | 
| log, server, SERVICE_CONTROLLER_SIG, serviceName | 
 
 
| Fields inherited from interface org.jboss.system.ServiceMBean | 
| CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED | 
 
 
 
 
| Methods inherited from class org.jboss.system.ServiceMBeanSupport | 
| create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop | 
 
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport | 
| addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
| Methods inherited from interface org.jboss.system.ServiceMBean | 
| getName, getState, getStateString, jbossInternalLifecycle | 
 
| Methods inherited from interface org.jboss.system.Service | 
| create, destroy, start, stop | 
 
SecurityManager
public SecurityManager()
getObjectName
protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
                                                    javax.management.ObjectName name)
                                             throws javax.management.MalformedObjectNameException
- 
 
- 
- Throws:
- javax.management.MalformedObjectNameException
 
getInvoker
public JMSServerInterceptor getInvoker()
- 
 
- 
 
getDefaultSecurityConfig
public Element getDefaultSecurityConfig()
- 
- Specified by:
- getDefaultSecurityConfigin interface- SecurityManagerMBean
 
- 
 
setDefaultSecurityConfig
public void setDefaultSecurityConfig(Element conf)
                              throws Exception
- 
- Specified by:
- setDefaultSecurityConfigin interface- SecurityManagerMBean
 
- 
- Throws:
- Exception
 
getSecurityDomain
public String getSecurityDomain()
- 
- Specified by:
- getSecurityDomainin interface- SecurityManagerMBean
 
- 
 
setSecurityDomain
public void setSecurityDomain(String securityDomain)
- 
- Specified by:
- setSecurityDomainin interface- SecurityManagerMBean
 
- 
 
printAuthCache
public String printAuthCache()
- 
 
- 
 
addDestination
public void addDestination(String destName,
                           Element conf)
                    throws Exception
- 
- Specified by:
- addDestinationin interface- SecurityManagerMBean
 
- 
- Throws:
- Exception
 
addDestination
public void addDestination(String destName,
                           String conf)
                    throws Exception
- 
- Specified by:
- addDestinationin interface- SecurityManagerMBean
 
- 
- Throws:
- Exception
 
removeDestination
public void removeDestination(String destName)
                       throws Exception
- 
- Specified by:
- removeDestinationin interface- SecurityManagerMBean
 
- 
- Throws:
- Exception
 
getSecurityMetadata
public SecurityMetadata getSecurityMetadata(String destName)
- 
 
- 
 
startService
public void startService()
                  throws Exception
- 
- Overrides:
- startServicein class- InterceptorMBeanSupport
 
- 
- Throws:
- Exception
 
stopService
public void stopService()
                 throws Exception
- 
 
- 
- Throws:
- Exception
 
authenticate
public String authenticate(String user,
                           String password)
                    throws javax.jms.JMSException
- 
 
- 
- Throws:
- javax.jms.JMSException
 
authorize
public boolean authorize(ConnectionToken token,
                         Set rolePrincipals)
                  throws javax.jms.JMSException
- 
 
- 
- Throws:
- javax.jms.JMSException
 
logout
public void logout(ConnectionToken token)
- 
 
- 
 
getInterceptor
public JMSServerInterceptor getInterceptor()
- 
- Specified by:
- getInterceptorin interface- InterceptorMBean
 
- 
- See Also:
- InterceptorMBean#getInterceptor()
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.