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.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • login

        public Account 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
      • addUser

        public void addUser​(java.net.URI secdomainURI,
                            java.lang.String uid,
                            java.lang.String subsystemName,
                            java.lang.String subsystemCert,
                            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