Class DisableSecureAdminCommand
- java.lang.Object
-
- com.sun.enterprise.security.admin.cli.SecureAdminCommand
-
- com.sun.enterprise.security.admin.cli.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
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.security.admin.cli.SecureAdminCommand
ADMIN_LISTENER_NAME, domain
-
-
Constructor Summary
Constructors Constructor Description DisableSecureAdminCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
transactionErrorMessageKey()
Returns the error key for finding a message describing an error during the operation - either enable or disable.-
Methods inherited from class com.sun.enterprise.security.admin.cli.SecureAdminCommand
execute, run
-
-
-
-
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 classSecureAdminCommand
- Returns:
- the message key corresponding to the error message to display
-
-