当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
SecurityMetadata (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
org.jboss.mq.security
Class SecurityMetadata
java.lang.Object
   org.jboss.mq.security.SecurityMetadata
org.jboss.mq.security.SecurityMetadata
- public class SecurityMetadata- extends Object
SecurityMetadata.java
 Created: Tue Feb 26 15:02:29 2002
- Version:
- Author:
- Peter
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SecurityMetadata
public SecurityMetadata()
SecurityMetadata
public SecurityMetadata(String conf)
                 throws Exception
- Create with given xml @see configure.
 If the configure script is null, a default role named guest will be
 created with read and write access, but no create access.
 
SecurityMetadata
public SecurityMetadata(Element conf)
                 throws Exception
configure
public void configure(String conf)
               throws Exception
- Configure with an xml string.
 The format of the string is:
 
  
 
 There may be one or more role elements.
 
- 
- Throws:
- Exception
 
configure
public void configure(Element sec)
               throws Exception
- 
- Throws:
- Exception
 
addRole
public void addRole(String name,
                    boolean read,
                    boolean write,
                    boolean create)
- 
 
addRole
public void addRole(org.jboss.mq.security.SecurityMetadata.Role r)
- 
 
getReadPrincipals
public Set getReadPrincipals()
- 
 
getWritePrincipals
public Set getWritePrincipals()
- 
 
getCreatePrincipals
public Set getCreatePrincipals()
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.