org.apache.servicemix.nmr.api.security
Interface AuthorizationService


public interface AuthorizationService

The AuthorizationService interface allows the NMR to retrieve the Access Control List for a given combination of endpoint / operation. This is used to secure access to a given endpoint.


Method Summary
 java.util.Set<GroupPrincipal> getAcls(java.lang.String endpoint, javax.xml.namespace.QName operation)
          Retrieve the Access Control List for a given endpoint and operation.
 

Method Detail

getAcls

java.util.Set<GroupPrincipal> getAcls(java.lang.String endpoint,
                                      javax.xml.namespace.QName operation)
Retrieve the Access Control List for a given endpoint and operation. The endpoint is identified by its ID (usually a combination of service QName and endpoint in the JBI case).

Parameters:
endpoint - the endpoint identifier
operation - the operation invoked or null
Returns:
a set of GroupPrincipal allowed to invoke the endpoint / operation


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.