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.
    Author:
    andyh
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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