Enabling authentication in the file transfer service using
scripting
The file transfer service provides role-based authentication.
You can enable authentication in the file transfer service using scripting
and the wsadmin tool.
Before you begin
Before starting this task, the wsadmin tool must be running.
See the Starting the wsadmin scripting client article for more information.
Procedure
A wsadmin Jacl script is provided to help you redeploy
the file transfer Web application. The script is called redeployFileTransfer.jacl
and is located in the app_server_root/bin directory.
Avoid trouble: If you use
more than one profile in your environment, use the profile parameter
with this command to specify the profile from which to run the redeployFileTransfer.jacl
wsadmin Jacl script. If you do not specify a profile path, the script
uses the default profile. For example, you might specify profile_root/bin/redeployFileTransfer.jacl where profile_root is
the path to the profile.gotcha
The syntax
for running the script from the bin directory is the following:
To determine
whether to turn file transfer authentication on or off, open the systemApps.xml file
within the profile_root/config/cells/cell_name/nodes/node_name/ directory.
If you see a reference to the filetransfer.ear file
within the systemApps.xml file, specify fileTransferAuthenticationOn.
If you see a reference to the filetransfersecured.ear file
within the systemApps.xml file, specify fileTransferAuthenticationOff.
cell_name is the name of your cell.
node_name is the name of your node.
server_name is the name of your server.
Use
wsadmin.
For example, when running the script to enable use of the filetransferSecured.ear
file, the syntax is similar to the following example:
Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.
This feature requires Internet access.
Most of the following links will take you to information that is not part of the formal product documentation and is provided "as is." Some of these links go to non-IBM Web sites and are provided for your convenience only and do not in any manner serve as an endorsement by IBM of those Web sites, the material thereon, or the owner thereof.