| java.lang.Object org.jboss.mq.security.SecurityMetadata
SecurityMetadata | public class SecurityMetadata (Code) | | SecurityMetadata.java
Created: Tue Feb 26 15:02:29 2002
author: Peter |
Inner Class :static class Role | |
DEFAULT_ROLE | static Role DEFAULT_ROLE(Code) | | |
SecurityMetadata | public SecurityMetadata()(Code) | | |
SecurityMetadata | public SecurityMetadata(String conf) throws Exception(Code) | | 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.
|
addRole | public void addRole(String name, boolean read, boolean write, boolean create)(Code) | | |
addRole | public void addRole(Role r)(Code) | | |
configure | public void configure(String conf) throws Exception(Code) | | Configure with an xml string.
The format of the string is:
There may be one or more role elements.
|
getCreatePrincipals | public Set getCreatePrincipals()(Code) | | |
getReadPrincipals | public Set getReadPrincipals()(Code) | | |
getWritePrincipals | public Set getWritePrincipals()(Code) | | |
|
|