org.alfresco.service.cmr.security
Interface PublicServiceAccessService

All Known Implementing Classes:
PublicServiceAccessServiceImpl

public interface PublicServiceAccessService

Evaluate public service entry conditions as defined in the security interceptors. Decouples any understanding of the security model from asking can I invoke the method and expect it to work.


Method Summary
 org.alfresco.service.cmr.security.AccessStatus hasAccess(java.lang.String publicService, java.lang.String method, java.lang.Object[] args)
           
 

Method Detail

hasAccess

@Auditable(parameters={"publicService", "method"})
org.alfresco.service.cmr.security.AccessStatus hasAccess(java.lang.String publicService,
                                                                   java.lang.String method,
                                                                   java.lang.Object[] args)
Parameters:
publicService - - the name of the public service
method - - the method call
args - - the arguments to the method as you woud call the method
Returns:
AccessStatus


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.