B.5. gateway config disable

Disables one or more SGD Gateway services.

Syntax

gateway config disable [ --services-reflection ]
                       [ --services-reflection-auth ]
                       [ --routes-http-redirect ]

Description

Use the command line options to disable specific SGD Gateway services. You must specify at least one command-line option.

Note

After using this command to disable a service, you must restart the SGD Gateway to stop the service.

The following table shows the available options for this command.

Option

Description

--services-reflection

Disables unauthenticated access to the SGD Gateway reflection service.

By default, this service is disabled.

See Section C.9, “The Reflection Service” for more details about the SGD Gateway reflection service.

--services-reflection-auth

Disables authenticated access to the SGD Gateway reflection service.

By default, this service is disabled.

See Section C.9, “The Reflection Service” for more details about the SGD Gateway reflection service.

--routes-http-redirect

Disables the HTTP redirection service.

By default, this service is disabled.

Examples

The following example disables authenticated access to the SGD Gateway reflection service.

# /opt/SUNWsgdg/bin/gateway config disable --services-reflection-auth