Interface MgmtManagerFactory<T extends org.apereo.cas.services.ServicesManager>

  • Type Parameters:
    T - - ServicesManager

    public interface MgmtManagerFactory<T extends org.apereo.cas.services.ServicesManager>
    Interface for factory to create instances services manager.
    Since:
    6.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T from​(org.springframework.security.core.Authentication authentication)
      Method will look up the CasUserProfile for the logged in user and the return the GitServicesManager for that user.
      T master()
      Returns the Master repository.
    • Method Detail

      • from

        T from​(org.springframework.security.core.Authentication authentication)
        Method will look up the CasUserProfile for the logged in user and the return the GitServicesManager for that user.
        Parameters:
        authentication - - user authentication
        Returns:
        - GitServicesManager for the logged in user
      • master

        T master()
          throws java.lang.Exception
        Returns the Master repository.
        Returns:
        GitServicesManager
        Throws:
        java.lang.Exception - - failed