at.ac.tuwien.infosys.sm4all.copal.api.service
Interface ContextSecurityManager

All Known Implementing Classes:
ContextSecurityManagerImpl

public interface ContextSecurityManager

Interface which COPAL provides to add additional AuthorizationMethod s.

Author:
sanjin

Method Summary
 void add(AuthorizationMethod method)
          Add specified additional AuthorizationMethod to COPAL.
 boolean authorized(ContextListener listener, ContextEvent event)
          Returns if specified ContextListener is allowed to receive specified ContextEvent.
 

Method Detail

add

void add(AuthorizationMethod method)
Add specified additional AuthorizationMethod to COPAL. If an AuthorizationMethod with same name is already registered, the specified AuthorizationMethod will not be added.

Parameters:
method - the AuthorizationMethod.

authorized

boolean authorized(ContextListener listener,
                   ContextEvent event)
Returns if specified ContextListener is allowed to receive specified ContextEvent.

Parameters:
listener - the ContextListener.
event - the ContextEvent.
Returns:
if specified ContextListener is allowed to receive specified ContextEvent.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.