|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for pluggable access control management in JMS.
Field Summary | |
static String |
CONSUME_PERMISSION
String constant for CONSUME permission. |
static String |
MANAGE_PERMISSION
String constant for MANAGE permission. |
static String |
PRODUCE_PERMISSION
String constant for PRODUCE permission. |
Method Summary | |
void |
createAcl(String name,
Acl acl)
Create an ACL with the given name |
void |
deleteAcl(String name)
Delete the ACL with the given name |
Acl |
getAcl(String name)
Get the ACL with the given name |
String[] |
getAllAclNames()
Get the names of all the ACLs defined in the JMS server |
Permission |
getPermission(String name)
Get a permission for a particular priviledge. |
void |
init(Properties props)
Initialize the ACL manager. |
Acl |
newAcl()
Get a new blank ACL |
AclEntry |
newAclEntry()
Get a new blank AclEntry object |
void |
updateAcl(String name,
Acl acl)
Update the ACL with the given name |
Field Detail |
public static final String CONSUME_PERMISSION
public static final String PRODUCE_PERMISSION
public static final String MANAGE_PERMISSION
Method Detail |
public void init(Properties props)
props
- the properties passed to the JMS server. By default this is
the content of the lib/msgsvc.properties
file.public Permission getPermission(String name) throws JMSException
name
- the name of permission
JMSException
- the provider could not execute this methodPermission
public Acl newAcl() throws JMSException
Acl
object
JMSException
- the provider could not execute this methodAcl
public void createAcl(String name, Acl acl) throws JMSException
name
- the name of ACL to createacl
- the value of ACL
JMSException
- the provider could not execute this methodAcl
public void deleteAcl(String name) throws JMSException
name
- the name of ACL to delete
JMSException
- the provider could not execute this methodpublic Acl getAcl(String name) throws JMSException
name
- the name of ACL to return
name
JMSException
- the provider could not execute this methodAcl
public void updateAcl(String name, Acl acl) throws JMSException
name
- the name of ACL to updateacl
- the new value of ACL
JMSException
- the provider could not execute this methodAcl
public String[] getAllAclNames() throws JMSException
JMSException
- the provider could not execute this methodpublic AclEntry newAclEntry() throws JMSException
AclEntry
object
JMSException
- the provider could not execute this methodAclEntry
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |