|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for managing security for JMS.
The JMQSecurityAdmin
object is obtained from the
JMQConnection
object.
JMQConnection.getSecurityAdmin()
Field Summary | |
static String |
GROUP_ADMIN
Name of the built-in Group of administrators |
static String |
GROUP_WORLD
Name of the built-in Group containing everyone |
static String |
USER_ANONYMOUS
Name of the built-in anonymous user |
Method Summary | |
void |
addPrincipalToGroup(String principal,
String groupName)
Add a principal to the group. |
void |
createAcl(String name,
Acl acl)
Create an ACL with the given name |
void |
createGroup(String groupName)
Create a Group with the given name |
void |
createUser(String username,
String password)
Create a User with the given name and password. |
void |
deleteAcl(String name)
Delete the ACL with the given name |
void |
deleteGroup(String groupName)
Delete the Group with the given name |
void |
deleteUser(String username)
Delete the User with the given name and password |
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 |
getConsumePermission()
Get the permission for consuming messages, or browsing queues |
Permission |
getManagePermission()
Get the permission for managing the JMS server |
Principal |
getPrincipal(String principalName)
Get the principal with the given name. |
Permission |
getProducePermission()
Get the permission for producing messages |
boolean |
isGroup(String principal)
Determine if the given principal is a Group |
String[] |
listAllGroups()
List the names of all the Groups |
String[] |
listAllUsers()
List all the users |
String[] |
listGroupMembers(String groupName)
List all the Group member names |
Acl |
newAcl()
Get a new blank ACL |
AclEntry |
newAclEntry()
Get a new blank AclEntry object |
void |
removePrincipalFromGroup(String principal,
String groupName)
Remove a principal from the group. |
void |
updateAcl(String name,
Acl acl)
Update the ACL with the given name |
void |
updatePassword(String username,
String password)
Update the password for the given user. |
Field Detail |
public static final String USER_ANONYMOUS
public static final String GROUP_ADMIN
public static final String GROUP_WORLD
Method Detail |
public Permission getConsumePermission() throws RemoteException, JMSException
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodPermission
public Permission getProducePermission() throws RemoteException, JMSException
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodPermission
public Permission getManagePermission() throws RemoteException, JMSException
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodPermission
public Acl newAcl() throws RemoteException, JMSException
Acl
object
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodAcl
public void createAcl(String name, Acl acl) throws RemoteException, JMSException
name
- the name of ACL to createacl
- the value of ACL
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodAcl
public void deleteAcl(String name) throws RemoteException, JMSException
name
- the name of ACL to delete
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic Acl getAcl(String name) throws RemoteException, JMSException
name
- the name of ACL to return
name
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodAcl
public void updateAcl(String name, Acl acl) throws RemoteException, JMSException
name
- the name of ACL to updateacl
- the new value of ACL
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodAcl
public String[] getAllAclNames() throws RemoteException, JMSException
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic AclEntry newAclEntry() throws RemoteException, JMSException
AclEntry
object
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodAclEntry
public Principal getPrincipal(String principalName) throws RemoteException, JMSException
principalName
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodPrincipal
public void createUser(String username, String password) throws RemoteException, JMSException
username
- name of new userpassword
- password for new user
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic void deleteUser(String username) throws RemoteException, JMSException
username
- name of user to delete
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic void updatePassword(String username, String password) throws RemoteException, JMSException
username
- name of user to updatepassword
- new password for user
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic String[] listAllUsers() throws RemoteException, JMSException
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic void createGroup(String groupName) throws RemoteException, JMSException
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic void deleteGroup(String groupName) throws RemoteException, JMSException
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic boolean isGroup(String principal) throws RemoteException, JMSException
principal
represents a group, FALSE
if user represents a user
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic void addPrincipalToGroup(String principal, String groupName) throws RemoteException, JMSException
principal
- the principal to add to a groupgroupName
- name of group principal should be added to
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic void removePrincipalFromGroup(String principal, String groupName) throws RemoteException, JMSException
principal
- the principal to remove to a groupgroupName
- name of group principal should be removed from
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic String[] listGroupMembers(String groupName) throws RemoteException, JMSException
groupName
- name of group to retrieve members for
groupName
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodpublic String[] listAllGroups() throws RemoteException, JMSException
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this method
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |