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. The script is called redeployFileTransfer.jacl
and is located in the app_server_root/bin directory.
The
syntax for running the script from the bin directory is the following:
wsadmin -conntype NONE -lang jacl -profile redeployFileTransfer.jacl -c "fileTransferAuthenticationXxx
cell_name node_name server_name"
![[may2010]](../../deltaend.gif)
may2010
Use
wsadmin.
- For example, when running the script to enable use of the filetransferSecured.ear
file, the syntax is similar to the following example:
wsadmin -conntype NONE -lang jacl -profile redeployFileTransfer.jacl -c
"fileTransferAuthenticationOn managedCell managedCellManager dmgr"
orwsadmin -conntype NONE -lang jacl -profile redeployFileTransfer.jacl -c
"fileTransferAuthenticationOn baseCell base server1"
In the previous examples, the following values apply:
- If you want to go return to running the file transfer service
without authentication, you can run the script as shown in the following
example:
wsadmin -conntype NONE -lang jacl -profile redeployFileTransfer.jacl -c
"fileTransferAuthenticationOff baseNodeCell baseNode server1"
or wsadmin -conntype NONE -lang jacl -profile redeployFileTransfer.jacl -c
"fileTransferAuthenticationOff managedCell managedCellManager dmgr"
What to do next
You must restart the server for the change to take affect.