Class DisableSecureAdminCommand

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="disable-secure-admin")
    @PerLookup
    @ExecuteOn({DAS,INSTANCE})
    public class DisableSecureAdminCommand
    extends SecureAdminCommand
    Adjusts the DAS configuration to turn off secure admin, as if by executing these commands:
     
    
    asadmin -s set configs.config.server-config.network-config.network-listeners.network-listener.admin-listener.protocol=admin-listener
    
    asadmin -s delete-protocol sec-admin-listener
    asadmin -s delete-protocol admin-http-redirect
    asadmin -s delete-protocol pu-protocol
    
    Author:
    Tim Quinn
    • Constructor Detail

      • DisableSecureAdminCommand

        public DisableSecureAdminCommand()
    • Method Detail

      • transactionErrorMessageKey

        protected String transactionErrorMessageKey()
        Description copied from class: SecureAdminCommand
        Returns the error key for finding a message describing an error during the operation - either enable or disable.

        Each concrete subclass overrides this to supply the relevant message key.

        Specified by:
        transactionErrorMessageKey in class SecureAdminCommand
        Returns:
        the message key corresponding to the error message to display