Sonic Management API

com.sonicsw.security.pass.broker
Interface IBrokerSecurityCache


public interface IBrokerSecurityCache

This interface is implemented by the SonicMQ runtime and provides callback operations on the Broker's Security Cache managing the external user and their credentials.

Using the instance of this interface supplied by the SonicMQ runtime to the IAuthentication implementation, users can perform operations on the Security Cache with respect to external users.

See Also:


Method Summary
 java.lang.String[] getExternalUsers()
          Returns the name of the external users currently cached in the Broker
 boolean updateExternalUsers(java.lang.String[] uids)
          Upon invocation of this method, Broker updates the security cache for the supplied in list of user names.
 

Method Detail

getExternalUsers

java.lang.String[] getExternalUsers()
                                    throws ConnectionException
Returns the name of the external users currently cached in the Broker

Returns:
list of names or null if none found

Throws:
ConnectionException

updateExternalUsers

boolean updateExternalUsers(java.lang.String[] uids)
                            throws ConnectionException
Upon invocation of this method, Broker updates the security cache for the supplied in list of user names.

Parameters:
uids - the list of user names

Returns:
true if successfully updated

Throws:
ConnectionException -

See Also:
IAuthentication.updateUserInfo(String[]), IBrokerProxy.refreshSecurity(java.lang.String), IBrokerProxy.getExternalUsers(java.lang.String)

Sonic Management API

Copyright © 2001-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 07-Mar-2010.