Class SubsystemClient

    • Field Detail

      • logger

        public static final org.slf4j.Logger logger
      • SUCCESS

        public static java.lang.String SUCCESS
      • FAILURE

        public static java.lang.String FAILURE
      • AUTH_FAILURE

        public static java.lang.String AUTH_FAILURE
    • Constructor Detail

      • SubsystemClient

        public SubsystemClient​(PKIClient client,
                               java.lang.String name)
                        throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
    • Method Detail

      • login

        public AccountInfo login()
                          throws java.lang.Exception
        Log in to the subsystem.
        Throws:
        java.lang.Exception
      • exists

        public boolean exists()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • requestRange

        public Range requestRange​(java.lang.String type,
                                  java.lang.String sessionID)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • logout

        public void logout()
                    throws java.lang.Exception
        Log out from the subsystem.
        Throws:
        java.lang.Exception