com.pcbsys.nirvana.nAdminAPI.nRealmAdmin Class Reference

This class provides basic Administration functionality for security based operations. More...

Public Member Functions

virtual void addACLEntries (nACL entries, nAbstractChannel obj)
 Adds a list of acl entries to the channel or queue acl More...
 
virtual void addACLEntries (nACL acl, nAbstractChannel[] objs)
 Adds a list of acl entries to all objects in an array of channels and / or queues More...
 
virtual void addACLEntry (nACLEntry entry, nAbstractChannel obj)
 Adds a specific acl entry to the channel or queue acl More...
 
virtual void addACLEntry (nACLEntry entry, nAbstractChannel[] objs)
 Adds an acl entry to all objects in an array of channels and / or queues More...
 
virtual void addRealmACLEntries (nACL entry)
 Adds a list of acl entries to the realm acl More...
 
virtual void addRealmACLEntry (nACLEntry entry)
 Adds a specific acl entry to the realm acl More...
 
virtual void addReconnectHandler (nReconnectHandler handler)
 Add a session reconnect handler to the underlying admin session. More...
 
virtual void close ()
 Closes the session with the remote Realm
 
virtual nChannel createChannel (com.pcbsys.nirvana.client.nChannelAttributes attr, nACL initialACL, long initialEID, nAbstractChannel deadStore)
 Creates a new channel on the realm this session is connected. More...
 
virtual nChannel createChannel (com.pcbsys.nirvana.client.nChannelAttributes attr, nACL initialACL, long initialEID)
 Creates a new channel on the realm this session is connected. More...
 
virtual nChannel createChannel (com.pcbsys.nirvana.client.nChannelAttributes attr, nACL initialACL)
 Creates a new channel on the realm this session is connected. More...
 
virtual nChannel createChannel (com.pcbsys.nirvana.client.nChannelAttributes attr)
 Creates a new channel on the realm this session is connected. More...
 
virtual nQueue createQueue (com.pcbsys.nirvana.client.nChannelAttributes attr, nACL initialACL, nAbstractChannel deadStore)
 Creates a new queue on the realm this session is connected. More...
 
virtual nQueue createQueue (com.pcbsys.nirvana.client.nChannelAttributes attr, nACL initialACL)
 Creates a new queue on the realm this session is connected. More...
 
virtual nQueue createQueue (com.pcbsys.nirvana.client.nChannelAttributes attr)
 Creates a new queue on the realm this session is connected. More...
 
virtual nACL getACL (nAbstractChannel obj)
 Returns the current ACL for the specified channel or queue on the Nirvana Realm. More...
 
virtual List< fAclGroup > getACLGroups ()
 Returns a list of all ACL groups defined on the realm. More...
 
virtual string getConnectedRealmName ()
 Return the name of the Nirvana Realm currently connected to More...
 
virtual nACL getInterfaceACL (string iface)
 Returns the nACL object passed for the interface in question More...
 
virtual nACL getRealmACL ()
 Returns the current ACL on the Nirvana Realm. More...
 
virtual nSession getSession ()
 Returns the nSession object for this RealmAdmin More...
 
virtual bool isConnectedToMaster ()
 If follow master has been set, then when the nRealmAdmin is disconnected, the underlying nSession will be set to the master realm when a new master is elected after losing quorum. More...
 
virtual void modACLEntries (nACL entries, nAbstractChannel obj)
 Modifies a list of acl entries in the channel or queue acl. More...
 
virtual void modACLEntry (nACLEntry entry, nAbstractChannel obj)
 Modifies a specific acl entry's permissions in the channel or queue More...
 
virtual void modRealmACLEntries (nACL entry)
 Modifies the acl entries in the list of realm acl entries. More...
 
virtual void modRealmACLEntry (nACLEntry entry)
 Modifies a specific acl entry's permissions in the realm acl. More...
 
 nRealmAdmin (nSessionAttributes sAttr)
 Constructs a link with the realm server for admin operations More...
 
 nRealmAdmin (nSessionAttributes sAttr, bool followMaster)
 Constructs a link with the realm server for admin operations More...
 
 nRealmAdmin (nSessionAttributes sAttr, string username, SecureString password=null)
 Constructs a link with the realm server for admin operations More...
 
 nRealmAdmin (nSessionAttributes sAttr, string username, bool followMaster)
 Constructs a link with the realm server for admin operations More...
 
 nRealmAdmin (nSessionAttributes sAttr, string username, SecureString password, bool followMaster)
 Constructs a link with the realm server for admin operations More...
 
virtual void removeACLEntries (nACL entries, nAbstractChannel obj)
 Removes a list of acl entries from the channel or queue acl. More...
 
virtual void removeACLEntries (nACL acl, nAbstractChannel[] objs)
 Removes a list of acl entries from all objects in an array of channels and / or queues More...
 
virtual void removeACLEntry (nACLEntry entry, nAbstractChannel obj)
 Removes a specific acl entry from the channel or queue acl. More...
 
virtual void removeACLEntry (nACLEntry entry, nAbstractChannel[] objs)
 Removes an acl entry from all objects in an array of channels and / or queues More...
 
virtual void removeRealmACLEntries (nACL entry)
 Removes a list of acl entries from the realm acl. More...
 
virtual void removeRealmACLEntry (nACLEntry entry)
 Removes a specific acl entry from the realm acl. More...
 
virtual void setACL (nACL acl, nAbstractChannel obj)
 Replaces the ACL on the Realm Server for this channel / queue with the acl list passed in. More...
 
virtual void setInterfaceACL (string iface, nACL acl)
 Commits the nACL object passed in with the Realm Server for the specified interface More...
 
virtual void setRealmACL (nACL acl)
 Replaces the ACL on the Nirvana Realm with that which is passed in. More...
 

Detailed Description

This class provides basic Administration functionality for security based operations.

It does not maintain any state for any objects, but allows Realm, nChannel & nQueue and also Interface acls to be added, removed or modified. It is also possible to obtain an up to date image of the acl objects for the Realm, nChannel & nQueue and also interfaces by querying the Realm itself.

Constructor & Destructor Documentation

com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.nRealmAdmin ( nSessionAttributes  sAttr)

Constructs a link with the realm server for admin operations

Parameters
sAttrnSessionAttributes representing the realm you wish to communicate with
Exceptions
nBaseAdminExceptionIf the user is not authorised for admin functions
com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.nRealmAdmin ( nSessionAttributes  sAttr,
bool  followMaster 
)

Constructs a link with the realm server for admin operations

Parameters
sAttrnSessionAttributes representing the realm you wish to communicate with
followMasterif set, this class will attempt to stay connected to the master realm
Exceptions
nBaseAdminExceptionIf the user is not authorised for admin functions
com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.nRealmAdmin ( nSessionAttributes  sAttr,
string  username,
SecureString  password = null 
)

Constructs a link with the realm server for admin operations

Parameters
sAttrnSessionAttributes representing the realm you wish to communicate with
usernameUsername to use to login to the server
passwordPassword to use to login to the server
Exceptions
nBaseAdminExceptionIf the user is not authorised for admin functions
com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.nRealmAdmin ( nSessionAttributes  sAttr,
string  username,
bool  followMaster 
)

Constructs a link with the realm server for admin operations

Parameters
sAttrnSessionAttributes representing the realm you wish to communicate with
usernameUsername to use to login to the server
followMasterif set, this class will attempt to stay connected to the master realm
Exceptions
nBaseAdminExceptionIf the user is not authorised for admin functions
com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.nRealmAdmin ( nSessionAttributes  sAttr,
string  username,
SecureString  password,
bool  followMaster 
)

Constructs a link with the realm server for admin operations

Parameters
sAttrnSessionAttributes representing the realm you wish to communicate with
usernameUsername to use to login to the server
passwordPassword to use to login to the server
followMasterif set, this class will attempt to stay connected to the master realm
Exceptions
nBaseAdminExceptionIf the user is not authorised for admin functions

Member Function Documentation

virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.addACLEntries ( nACL  entries,
nAbstractChannel  obj 
)
virtual

Adds a list of acl entries to the channel or queue acl

Parameters
entriesAn nACL list containing the subjects and permissions to add to the channel or queue acl
objthe channel or queue
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.addACLEntries ( nACL  acl,
nAbstractChannel[]  objs 
)
virtual

Adds a list of acl entries to all objects in an array of channels and / or queues

Parameters
aclthe acl to apply
objsthe channels and / or queues to apply the acl to
Exceptions
nBaseAdminException
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.addACLEntry ( nACLEntry  entry,
nAbstractChannel  obj 
)
virtual

Adds a specific acl entry to the channel or queue acl

Parameters
entryAn nACL entry containing the subject and permissions to add to the channel or queue acl
objthe channel or queue
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.addACLEntry ( nACLEntry  entry,
nAbstractChannel[]  objs 
)
virtual

Adds an acl entry to all objects in an array of channels and / or queues

Parameters
entrythe acl to apply
objsthe channels and / or queues to apply the acl to
Exceptions
nBaseAdminException
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.addRealmACLEntries ( nACL  entry)
virtual

Adds a list of acl entries to the realm acl

Parameters
entryAn nACL list containing the subjects and permissions to add to the realm acl
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.addRealmACLEntry ( nACLEntry  entry)
virtual

Adds a specific acl entry to the realm acl

Parameters
entryAn nACL entry containing the subject and permissions to add to the realm acl
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.addReconnectHandler ( nReconnectHandler  handler)
virtual

Add a session reconnect handler to the underlying admin session.

Parameters
handler- the nReconnectHandler object for the underlying admin session
virtual nChannel com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.createChannel ( com.pcbsys.nirvana.client.nChannelAttributes  attr,
nACL  initialACL,
long  initialEID,
nAbstractChannel  deadStore 
)
virtual

Creates a new channel on the realm this session is connected.

Parameters
attrThe channel attributes object containing the parameters for the new channel to be created
initialACLThe initial ACLs to apply to the channel at creation time
initialEIDThe value to start the event id at
deadStoreThe dead event store that will contain all purged, aged and dead events
Returns
an nChannel object representing the newly created nirvana channel
Exceptions
nUnknownRemoteRealmExceptionThe remote realm responded with an unknown exception
nSecurityExceptionUser is not authorised for the function
nChannelAlreadyExistsExceptionThe channel already exists
nSessionNotConnectedExceptionCurrent session is not connected
nUnexpectedResponseExceptionInternal Error has occurred, since we received a response from the server out of sequence
nRequestTimedOutExceptionThe server has not responded to the request in the timeout period
nIllegalArgumentExceptionIllegal parameter, check the message for more information
nSessionPausedExceptionThe session is currently paused, please resume
virtual nChannel com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.createChannel ( com.pcbsys.nirvana.client.nChannelAttributes  attr,
nACL  initialACL,
long  initialEID 
)
virtual

Creates a new channel on the realm this session is connected.

Parameters
attrThe channel attributes object containing the parameters for the new channel to be created
initialACLThe initial ACLs to apply to the channel at creation time
initialEIDThe value to start the event id at
Returns
an nChannel object representing the newly created nirvana channel
Exceptions
nUnknownRemoteRealmExceptionThe remote realm responded with an unknown exception
nSecurityExceptionUser is not authorised for the function
nChannelAlreadyExistsExceptionThe channel already exists
nSessionNotConnectedExceptionCurrent session is not connected
nUnexpectedResponseExceptionInternal Error has occurred, since we received a response from the server out of sequence
nRequestTimedOutExceptionThe server has not responded to the request in the timeout period
nIllegalArgumentExceptionIllegal parameter, check the message for more information
nSessionPausedExceptionThe session is currently paused, please resume
virtual nChannel com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.createChannel ( com.pcbsys.nirvana.client.nChannelAttributes  attr,
nACL  initialACL 
)
virtual

Creates a new channel on the realm this session is connected.

Parameters
attrThe channel attributes object containing the parameters for the new channel to be created
initialACLThe initial ACLs to apply to the channel at creation time
Returns
an nChannel object representing the newly created nirvana channel
Exceptions
nUnknownRemoteRealmExceptionThe remote realm responded with an unknown exception
nSecurityExceptionUser is not authorised for the function
nChannelAlreadyExistsExceptionThe channel already exists
nSessionNotConnectedExceptionCurrent session is not connected
nUnexpectedResponseExceptionInternal Error has occurred, since we received a response from the server out of sequence
nRequestTimedOutExceptionThe server has not responded to the request in the timeout period
nIllegalArgumentExceptionIllegal parameter, check the message for more information
nSessionPausedExceptionThe session is currently paused, please resume
virtual nChannel com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.createChannel ( com.pcbsys.nirvana.client.nChannelAttributes  attr)
virtual

Creates a new channel on the realm this session is connected.

Parameters
attrThe channel attributes object containing the parameters for the new channel to be created @ param initialEID The channel will be created with the first eid being set to this value by default it is set to 0 but the user can set it to any positive value
Returns
an nChannel object representing the newly created nirvana channel
Exceptions
nUnknownRemoteRealmExceptionThe remote realm responded with an unknown exception
nSecurityExceptionUser is not authorised for the function
nChannelAlreadyExistsExceptionThe channel already exists
nSessionNotConnectedExceptionCurrent session is not connected
nUnexpectedResponseExceptionInternal Error has occurred, since we received a response from the server out of sequence
nRequestTimedOutExceptionThe server has not responded to the request in the timeout period
nIllegalArgumentExceptionIllegal parameter, check the message for more information
nSessionPausedExceptionThe session is currently paused, please resume
virtual nQueue com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.createQueue ( com.pcbsys.nirvana.client.nChannelAttributes  attr,
nACL  initialACL,
nAbstractChannel  deadStore 
)
virtual

Creates a new queue on the realm this session is connected.

Parameters
attrThe channel attributes object containing the parameters for the new queue to be created
initialACLThe initial ACLs to apply to the queue at creation time
deadStoreThe dead event store that will contain all purged, aged and dead events
Returns
an nQueue object representing the newly created nirvana queue
Exceptions
nUnknownRemoteRealmExceptionThe remote realm responded with an unknown exception
nSecurityExceptionUser is not authorised for the function
nChannelAlreadyExistsExceptionThe channel already exists
nSessionNotConnectedExceptionCurrent session is not connected
nUnexpectedResponseExceptionInternal Error has occurred, since we received a response from the server out of sequence
nRequestTimedOutExceptionThe server has not responded to the request in the timeout period
nIllegalArgumentExceptionIllegal parameter, check the message for more information
nSessionPausedExceptionThe session is currently paused, please resume
virtual nQueue com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.createQueue ( com.pcbsys.nirvana.client.nChannelAttributes  attr,
nACL  initialACL 
)
virtual

Creates a new queue on the realm this session is connected.

Parameters
attrThe channel attributes object containing the parameters for the new queue to be created
initialACLThe initial ACLs to apply to the queue at creation time
Returns
an nQueue object representing the newly created nirvana queue
Exceptions
nUnknownRemoteRealmExceptionThe remote realm responded with an unknown exception
nSecurityExceptionUser is not authorised for the function
nChannelAlreadyExistsExceptionThe channel already exists
nSessionNotConnectedExceptionCurrent session is not connected
nUnexpectedResponseExceptionInternal Error has occurred, since we received a response from the server out of sequence
nRequestTimedOutExceptionThe server has not responded to the request in the timeout period
nIllegalArgumentExceptionIllegal parameter, check the message for more information
nSessionPausedExceptionThe session is currently paused, please resume
virtual nQueue com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.createQueue ( com.pcbsys.nirvana.client.nChannelAttributes  attr)
virtual

Creates a new queue on the realm this session is connected.

Parameters
attrThe channel attributes object containing the parameters for the new queue to be created
Returns
an nQueue object representing the newly created nirvana queue
Exceptions
nUnknownRemoteRealmExceptionThe remote realm responded with an unknown exception
nSecurityExceptionUser is not authorised for the function
nChannelAlreadyExistsExceptionThe channel already exists
nSessionNotConnectedExceptionCurrent session is not connected
nUnexpectedResponseExceptionInternal Error has occurred, since we received a response from the server out of sequence
nRequestTimedOutExceptionThe server has not responded to the request in the timeout period
nIllegalArgumentExceptionIllegal parameter, check the message for more information
nSessionPausedExceptionThe session is currently paused, please resume
virtual nACL com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.getACL ( nAbstractChannel  obj)
virtual

Returns the current ACL for the specified channel or queue on the Nirvana Realm.

This call makes a synchronous call to the realm to obtain the current acl.

Parameters
objthe channel or queue to obtain the current permissions for
Returns
The channel or queue nACL
Exceptions
nBaseAdminExceptionIf unable to successfully perform this operation, check the message for more information
virtual List<fAclGroup> com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.getACLGroups ( )
virtual

Returns a list of all ACL groups defined on the realm.

Returns
A collection of ACL groups
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual string com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.getConnectedRealmName ( )
virtual

Return the name of the Nirvana Realm currently connected to

Returns
the name of the Nirvana Realm currently connected to
virtual nACL com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.getInterfaceACL ( string  iface)
virtual

Returns the nACL object passed for the interface in question

Parameters
ifaceThe name of the interface
Returns
An nACL containing nInterfaceViaEntry objects
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual nACL com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.getRealmACL ( )
virtual

Returns the current ACL on the Nirvana Realm.

This call makes a synchronous call to the realm to obtain the current acl list.

Returns
The realm nACL
Exceptions
nBaseAdminExceptionIf unable to successfully perform this operation, check the message for more information
virtual nSession com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.getSession ( )
virtual

Returns the nSession object for this RealmAdmin

Returns
The com.pcbsys.nirvana.client.nSession object

<seealso cref= com.pcbsys.nirvana.client.nSession

virtual bool com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.isConnectedToMaster ( )
virtual

If follow master has been set, then when the nRealmAdmin is disconnected, the underlying nSession will be set to the master realm when a new master is elected after losing quorum.

This method will determine whether the underlying nSession is actually connected to the master realm

Returns
true when connected to the master realm, false if not
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.modACLEntries ( nACL  entries,
nAbstractChannel  obj 
)
virtual

Modifies a list of acl entries in the channel or queue acl.

Parameters
entriesAn nACL list containing the subjects and permissions to remove from the channel or queue acl
objthe channel or queue
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.modACLEntry ( nACLEntry  entry,
nAbstractChannel  obj 
)
virtual

Modifies a specific acl entry's permissions in the channel or queue

Parameters
entryAn nACL entry containing the subject and permissions to modify in the channel or queue acl
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.modRealmACLEntries ( nACL  entry)
virtual

Modifies the acl entries in the list of realm acl entries.

Parameters
entryAn nACL list containing the subjects and permissions to modify in the realm
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.modRealmACLEntry ( nACLEntry  entry)
virtual

Modifies a specific acl entry's permissions in the realm acl.

Parameters
entryAn nACL entry containing the subject and permissions to modify in the realm node
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.removeACLEntries ( nACL  entries,
nAbstractChannel  obj 
)
virtual

Removes a list of acl entries from the channel or queue acl.

Parameters
entriesAn nACL list containing the subjects and permissions to remove from the channel or queue acl
objthe channel or queue
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.removeACLEntries ( nACL  acl,
nAbstractChannel[]  objs 
)
virtual

Removes a list of acl entries from all objects in an array of channels and / or queues

Parameters
aclthe acl to apply
objsthe channels and / or queues to apply the acl to
Exceptions
nBaseAdminException
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.removeACLEntry ( nACLEntry  entry,
nAbstractChannel  obj 
)
virtual

Removes a specific acl entry from the channel or queue acl.

Parameters
entryAn nACL entry containing the subject and permissions to remove from the channel or queue acl
objthe channel or queue
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.removeACLEntry ( nACLEntry  entry,
nAbstractChannel[]  objs 
)
virtual

Removes an acl entry from all objects in an array of channels and / or queues

Parameters
entrythe acl to apply
objsthe channels and / or queues to apply the acl to
Exceptions
nBaseAdminException
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.removeRealmACLEntries ( nACL  entry)
virtual

Removes a list of acl entries from the realm acl.

Parameters
entryAn nACL list containing the subjects and permissions to remove from the realm acl
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.removeRealmACLEntry ( nACLEntry  entry)
virtual

Removes a specific acl entry from the realm acl.

Parameters
entryAn nACL entry containing the subject and permissions to remove from the realm acl
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.setACL ( nACL  acl,
nAbstractChannel  obj 
)
virtual

Replaces the ACL on the Realm Server for this channel / queue with the acl list passed in.

This will entirely replace the channel / queue acl with the contents of the acl passed into the function.

This method should be used with extreme caution. Unlike the nRealmNode, the nRealmAdmin does not maintain an up to date image of any of the channel ACL lists. This function will overwrite the acl at the server for the specific channel / queue with the acl entries passed in.

Parameters
aclA nACL containing list of subjects and permissions
objThe channel or queue to set the acl on
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.setInterfaceACL ( string  iface,
nACL  acl 
)
virtual

Commits the nACL object passed in with the Realm Server for the specified interface

Parameters
ifaceThe name of the interface
aclA nACL containing nInterfaceViaEntry objects
Exceptions
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com.pcbsys.nirvana.nAdminAPI.nRealmAdmin.setRealmACL ( nACL  acl)
virtual

Replaces the ACL on the Nirvana Realm with that which is passed in.

This method is synchronous and will return once the operation has been completed by the server or cluster.

This method should be used with extreme caution. Unlike the nRealmNode, the nRealmAdmin does not maintain an up to date image of the Realm ACL. This function will overwrite the acl at the server with the acl entries passed in.

Parameters
aclA nACL containing nRealmACLEntry
Exceptions
nBaseAdminExceptionIf unable to successfully perform this operation, check the message for more information