Class OA2AdminClientCommands

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Logable, edu.uiuc.ncsa.security.util.cli.Commands, Serializable

    public class OA2AdminClientCommands
    extends BaseClientStoreCommands

    Created by Jeff Gaynor
    on 12/8/16 at 12:34 PM

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String APPROVAL_QDL_ENABLE  
      static String LINK_NEW_CLIENT_FLAG  
      static String LINK_RANDOM_CLIENT_ID_ARG  
      static String NO_VERIFY_ALL_FLAG  
      static String UNLINK_ALL_FLAG  
      static String UNLINK_REMOVE_FLAG  
      • Fields inherited from class edu.uiuc.ncsa.security.storage.cli.StoreCommands2

        ALL_LIST_COMMAND, allEntries, DEFAULT_MAGIC_NUMBER, display_width, FILE_FLAG, FORCE_COPY_FLAG, KEY_SHORTHAND_PREFIX, LINE_LIST_COMMAND, LIST_EOL_MARKER, LOAD_ONLY_COMMAND, NEXT_N_COMMAND, RANDOM_ID_FLAG, RESULT_SET_KEY, resultSets, RM_FORCE_FLAG, RS_APPEND_ACTION, RS_CLEAR_ACTION, RS_DROP_ACTION, RS_FIELDS_ACTION, RS_FILE_KEY, RS_LIST_ACTION, RS_RANGE_KEY, RS_RANGE_SHORT_KEY, RS_READ_ACTION, RS_REMOVE_ACTION, RS_SAVE_ACTION, RS_SHOW_ACTION, RS_SIZE_ACTION, RS_SUBSET_ACTION, RS_WRITE_ACTION, SEARCH_AFTER_TS_FLAG, SEARCH_BEFORE_TS_FLAG, SEARCH_DATE_FLAG, SEARCH_DEBUG_FLAG, SEARCH_IS_NULL_FLAG, SEARCH_REGEX_FLAG, SEARCH_RESULT_SET_NAME, SEARCH_RETURNED_ATTRIBUTES_FLAG, SEARCH_SHORT_REGEX_FLAG, SEARCH_SIZE_FLAG, SEARCH_VERSIONS_FALSE_VALUE, SEARCH_VERSIONS_FLAG, SEARCH_VERSIONS_ONLY_VALUE, SEARCH_VERSIONS_TRUE_VALUE, SHORT_UPDATE_FLAG, SHOW_HEADER, SHOW_VERSIONS_LIST_COMMAND, SIZE_ALL_FLAG, SIZE_VERSIONS_FLAG, SKIP_UPDATE_PERMISSIONS_FLAG, sortable, STILE, UPDATE_FLAG, UPKEEP_FLAG_CFG, UPKEEP_FLAG_ENABLE, UPKEEP_FLAG_RUN, UPKEEP_FLAG_SHOW, UPKEEP_FLAG_TEST, VERBOSE_COMMAND
      • Fields inherited from class edu.uiuc.ncsa.security.util.cli.CommonCommands2

        placeHolder
      • Fields inherited from class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl

        CL_INPUT_FILE_FLAG, CL_OUTPUT_FILE_FLAG, DEFAULT_NULL_VALUE_PLACEHOLDER, defaultIndent, INDENT, LOGO, logoName, NO_HEADER, NO_LOGO, showHeader, showLogo, SILENT
    • Method Detail

      • getName

        public String getName()
      • showListClientsHelp

        protected void showListClientsHelp()
      • list_clients

        public void list_clients​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                          throws Throwable
        Throws:
        Throwable
      • showCountClientsHelp

        protected void showCountClientsHelp()
      • count_clients

        public void count_clients​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                           throws Throwable
        Throws:
        Throwable
      • showListAdminsHelp

        protected void showListAdminsHelp()
      • list_admins

        public void list_admins​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                         throws Throwable
        Throws:
        Throwable
      • showDeserializeHelp

        protected void showDeserializeHelp()
        Overrides:
        showDeserializeHelp in class edu.uiuc.ncsa.security.storage.cli.StoreCommands2
      • link

        public void link​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                  throws Throwable
        Throws:
        Throwable
      • unlinkRS

        protected void unlinkRS​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
      • unlink

        public void unlink​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                    throws Throwable
        Throws:
        Throwable
      • list_provisioners

        public void list_provisioners​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                               throws Throwable
        Throws:
        Throwable
      • list_ersatz

        public void list_ersatz​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                         throws Throwable
        Throws:
        Throwable
      • set_ersatz

        public void set_ersatz​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                        throws Throwable
        Throws:
        Throwable
      • initHelp

        public void initHelp()
                      throws Throwable
        Overrides:
        initHelp in class edu.uiuc.ncsa.security.storage.cli.StoreCommands2
        Throws:
        Throwable
      • updateStorePermissions

        protected int updateStorePermissions​(edu.uiuc.ncsa.security.core.Identifier newID,
                                             edu.uiuc.ncsa.security.core.Identifier oldID,
                                             boolean copy)
        Specified by:
        updateStorePermissions in class edu.uiuc.ncsa.security.storage.cli.StoreCommands2