jBrokerTM ORB 4.1

org.omg.CosNaming
Class _BindingIteratorImplBase

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--org.omg.CosNaming._BindingIteratorImplBase
All Implemented Interfaces:
BindingIterator, IDLEntity, InvokeHandler, Object, Serializable

public abstract class _BindingIteratorImplBase
extends ObjectImpl
implements BindingIterator, InvokeHandler

Stream based Skeleton for BindingIterator

See Also:
Serialized Form

Constructor Summary
_BindingIteratorImplBase()
           
 
Method Summary
 String[] _ids()
          Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
 OutputStream _invoke(String _method, InputStream _is, ResponseHandler _rh)
          Invoked by the ORB to dispatch a request to the servant.
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, 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 jBroker MQ server
 Permission getConsumePermission()
          Get the permission for consuming messages, or browsing queues
 Permission getManagePermission()
          Get the permission for managing the jBroker MQ 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

USER_ANONYMOUS

public static final String USER_ANONYMOUS
Name of the built-in anonymous user

GROUP_ADMIN

public static final String GROUP_ADMIN
Name of the built-in Group of administrators

GROUP_WORLD

public static final String GROUP_WORLD
Name of the built-in Group containing everyone
Method Detail

getConsumePermission

public Permission getConsumePermission()
                                throws RemoteException,
                                       JMSException
Get the permission for consuming messages, or browsing queues
Returns:
the CONSUME permission
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
Permission

getProducePermission

public Permission getProducePermission()
                                throws RemoteException,
                                       JMSException
Get the permission for producing messages
Returns:
the PRODUCE permission
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
Permission

getManagePermission

public Permission getManagePermission()
                               throws RemoteException,
                                      JMSException
Get the permission for managing the jBroker MQ server
Returns:
the MANAGE permission
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
Permission

newAcl

public Acl newAcl()
           throws RemoteException,
                  JMSException
Get a new blank ACL
Returns:
a newly created, blank Acl object
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
Acl

createAcl

public void createAcl(String name,
                      Acl acl)
               throws RemoteException,
                      JMSException
Create an ACL with the given name
Parameters:
name - the name of ACL to create
acl - the value of ACL
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
Acl

deleteAcl

public void deleteAcl(String name)
               throws RemoteException,
                      JMSException
Delete the ACL with the given name
Parameters:
name - the name of ACL to delete
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method

getAcl

public Acl getAcl(String name)
           throws RemoteException,
                  JMSException
Get the ACL with the given name
Parameters:
name - the name of ACL to return
Returns:
the ACL with name
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
Acl

updateAcl

public void updateAcl(String name,
                      Acl acl)
               throws RemoteException,
                      JMSException
Update the ACL with the given name
Parameters:
name - the name of ACL to update
acl - the new value of ACL
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
Acl

getAllAclNames

public String[] getAllAclNames()
                        throws RemoteException,
                               JMSException
Get the names of all the ACLs defined in the jBroker MQ server
Returns:
a string array with all ACL names
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method

newAclEntry

public AclEntry newAclEntry()
                     throws RemoteException,
                            JMSException
Get a new blank AclEntry object
Returns:
a newly created, blank AclEntry object
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
AclEntry

getPrincipal

public Principal getPrincipal(String principalName)
                       throws RemoteException,
                              JMSException
Get the principal with the given name. Note that the principal could be an ordinary User or a Group
Returns:
the principal with principalName
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method
See Also:
Principal

createUser

public void createUser(String username,
                       String password)
                throws RemoteException,
                       JMSException
Create a User with the given name and password. Note that the password does not go over the wire in the clear
Parameters:
username - name of new user
password - password for new user
Throws:
RemoteException - the remote invocation of this method failed
JMSException - the JMS provider could not execute this method

deleteUser

public void deleteUser(String username)
                throws RemoteException,
                       JMSException
Delete the User with the given name and password
Parameters:
username - name of user to delete
Throws: