com.ibm.presence.api.authorization
Interface AuthorizationService


public interface AuthorizationService

This interface should be implemented in an application that provides authorization service to the Presence Server. The Presence Server invokes these methods when needs to authorize a subscription.


Method Summary
 void doSubscribeIsAllowedUser(AuthorizationData authorizationData, AuthorizationRulesListener listener)
          Subscribes to recieve authorization rules for a given subscribtion
 void doUnsubscribeIsAllowedUser(AuthorizationData authorizationData)
          Unsubscribes for a given subscription (no longer interested in authorization rules)
 

Method Detail

doSubscribeIsAllowedUser

void doSubscribeIsAllowedUser(AuthorizationData authorizationData,
                              AuthorizationRulesListener listener)
                              throws java.rmi.RemoteException
Subscribes to recieve authorization rules for a given subscribtion

Parameters:
authorizationData - - the data we subscribe on authorization policy for
listener - to receive authorization policy events
Throws:
java.rmi.RemoteException
DataLayerException

doUnsubscribeIsAllowedUser

void doUnsubscribeIsAllowedUser(AuthorizationData authorizationData)
                                throws java.rmi.RemoteException
Unsubscribes for a given subscription (no longer interested in authorization rules)

Parameters:
authorizationData - - the data we un-subscribe from authorization policy for
Throws:
java.rmi.RemoteException
DataLayerException


Copyright © 2007 IBM Corp. All Rights Reserved.