Interface FilePlanAuthenticationService

  • All Known Implementing Classes:
    FilePlanAuthenticationServiceImpl

    public interface FilePlanAuthenticationService
    Deprecated.
    as of 2.2, use AuthenticationUtil.
    File plan authentication service.
    Since:
    2.1
    Author:
    Roy Wetherall
    • Method Detail

      • getRmAdminUserName

        String getRmAdminUserName()
        Deprecated.
        as of 2.2, use AuthenticationUtil.getAdminUserName()
        Returns:
        rm admin user name
      • runAsRmAdmin

        <R> R runAsRmAdmin​(org.alfresco.repo.security.authentication.AuthenticationUtil.RunAsWork<R> runAsWork)
        Deprecated.
        as of 2.2, use AuthenticationUtil.runAs(RunAsWork, String)
        Run provided work as the global rm admin user.
        Type Parameters:
        R - return type
        Parameters:
        runAsWork - work to execute as the rm admin user
        Returns:
        R result of work execution