Interface FCServerIfcExtended

    • Method Detail

      • listUsers

        UserContainer[] listUsers()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validateUserAdded

        @Deprecated
        default void validateUserAdded​(UserContainer user)
                                throws AddUserException
        Deprecated.
        FOR INTERNAL USE ONLY ON LEGACY PRODUCTS
        Parameters:
        user - UserContainer to check if exists on server.
        Throws:
        AddUserException - if user does not exist on server
      • addUserSanity

        @Deprecated
        default void addUserSanity​(UserContainer user,
                                   java.lang.String password)
                            throws AddUserException
        Deprecated.
        This is called in the the addUser and addTempUser method. FOR INTERNAL USE ONLY ON LEGACY PRODUCTS
        Parameters:
        user - the user you wish to check if it is set properly
        password - the password you wish to check
        Throws:
        AddUserException - if the user directory, user name or password are null or empty
      • getHTMLAdminURL

        default java.net.URI getHTMLAdminURL()
                                      throws java.lang.Exception
        Returns the current HTML admin URL when called. Throws exception if the administration can't be properly used.
        Returns:
        URI for the current HTML administration
        Throws:
        java.lang.Exception - Thrown if remote admin is disabled, if web access is disabled, or the web server can't be reached.
      • getHTMLAdminURL

        java.net.URI getHTMLAdminURL​(boolean bypassServerConfigs)
                              throws java.lang.Exception
        Returns the current HTML admin URL when called. Throws exception if the administration can't be properly used.
        Parameters:
        bypassServerConfigs - - set to true ignores masquerades and bind all interface on the server and returns an URL that can be used to connect to the HTML Admin
        Returns:
        URI for the current HTML administration
        Throws:
        java.lang.Exception - Thrown if remote admin is disabled, if web access is disabled, or the web server can't be reached.
      • translateToIP

        default java.lang.String translateToIP​(java.lang.String ip)
      • translateToIPLazy

        default java.lang.String translateToIPLazy​(java.lang.String ip)
      • getWebServerBaseURL

        default java.lang.String getWebServerBaseURL​(unlimited.fc.com.FCConfig fcConfig,
                                                     boolean bypassIPMasquerade,
                                                     java.lang.String serverIPString)
      • getIP

        default java.lang.String getIP​(unlimited.fc.com.FCConfig fcConfig,
                                       boolean bypassIPMasquerade)
      • shutdown

        void shutdown()
               throws java.lang.Exception
        Tells the server to shut down.
        Throws:
        java.lang.Exception
      • generateDiagnostics

        void generateDiagnostics()
                          throws java.lang.Exception
        Generate a diagnostic on the server.
        Throws:
        java.lang.Exception