org.jboss.messaging.core.deployers.impl
Class SecurityDeployer

java.lang.Object
  extended by org.jboss.messaging.core.deployers.impl.XmlDeployer
      extended by org.jboss.messaging.core.deployers.impl.SecurityDeployer
All Implemented Interfaces:
Deployer, MessagingComponent

public class SecurityDeployer
extends XmlDeployer

Deploys the security settings into a security repository and adds them to the security store.

Author:
Andy Taylor

Field Summary
static java.lang.String CONSUME_NAME
           
static java.lang.String CREATEDURABLEQUEUE_NAME
           
static java.lang.String CREATETEMPQUEUE_NAME
           
static java.lang.String DELETEDURABLEQUEUE_NAME
           
static java.lang.String DELETETEMPQUEUE_NAME
           
static java.lang.String MANAGE_NAME
           
static java.lang.String SEND_NAME
           
 
Fields inherited from class org.jboss.messaging.core.deployers.impl.XmlDeployer
NAME_ATTR
 
Constructor Summary
SecurityDeployer(DeploymentManager deploymentManager, HierarchicalRepository<java.util.Set<Role>> securityRepository)
           
 
Method Summary
 void deploy(org.w3c.dom.Node node)
          deploy an element
 java.lang.String[] getDefaultConfigFileNames()
          The name of the configuration file name to look for for deployment
 java.lang.String[] getElementTagName()
          the names of the elements to deploy
 java.lang.String getKeyAttribute()
          the key attribute for theelement, usually 'name' but can be overridden
 void undeploy(org.w3c.dom.Node node)
          undeploys an element
 void validate(org.w3c.dom.Node rootNode)
          Validate the DOM
 
Methods inherited from class org.jboss.messaging.core.deployers.impl.XmlDeployer
addToConfiguration, deploy, getConfigFileNames, getRootElement, isStarted, redeploy, setConfigFileNames, start, stop, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEND_NAME

public static final java.lang.String SEND_NAME
See Also:
Constant Field Values

CONSUME_NAME

public static final java.lang.String CONSUME_NAME
See Also:
Constant Field Values

CREATEDURABLEQUEUE_NAME

public static final java.lang.String CREATEDURABLEQUEUE_NAME
See Also:
Constant Field Values

DELETEDURABLEQUEUE_NAME

public static final java.lang.String DELETEDURABLEQUEUE_NAME
See Also:
Constant Field Values

CREATETEMPQUEUE_NAME

public static final java.lang.String CREATETEMPQUEUE_NAME
See Also:
Constant Field Values

DELETETEMPQUEUE_NAME

public static final java.lang.String DELETETEMPQUEUE_NAME
See Also:
Constant Field Values

MANAGE_NAME

public static final java.lang.String MANAGE_NAME
See Also:
Constant Field Values
Constructor Detail

SecurityDeployer

public SecurityDeployer(DeploymentManager deploymentManager,
                        HierarchicalRepository<java.util.Set<Role>> securityRepository)
Method Detail

getElementTagName

public java.lang.String[] getElementTagName()
the names of the elements to deploy

Specified by:
getElementTagName in class XmlDeployer
Returns:
the names of the elements todeploy

validate

public void validate(org.w3c.dom.Node rootNode)
              throws java.lang.Exception
Description copied from class: XmlDeployer
Validate the DOM

Specified by:
validate in class XmlDeployer
Throws:
java.lang.Exception

getKeyAttribute

public java.lang.String getKeyAttribute()
the key attribute for theelement, usually 'name' but can be overridden

Overrides:
getKeyAttribute in class XmlDeployer
Returns:
the key attribute

deploy

public void deploy(org.w3c.dom.Node node)
            throws java.lang.Exception
deploy an element

Specified by:
deploy in class XmlDeployer
Parameters:
node - the element to deploy
Throws:
java.lang.Exception - .

undeploy

public void undeploy(org.w3c.dom.Node node)
              throws java.lang.Exception
undeploys an element

Specified by:
undeploy in class XmlDeployer
Parameters:
node - the element to undeploy
Throws:
java.lang.Exception - .

getDefaultConfigFileNames

public java.lang.String[] getDefaultConfigFileNames()
The name of the configuration file name to look for for deployment

Specified by:
getDefaultConfigFileNames in class XmlDeployer
Returns:
The name of the config file


Copyright © 2006 JBoss Inc. All Rights Reserved.