XYGATE User Authentication Reference Manual

XYGATE
®
User Authentication
(XUA) 1.85 Reference Manual
Chapter 16. What-if Testing
XYPRO Technology Corporation 154 Proprietary and Confidential
16.12 Testing the XUA Server
The command SERVER <process name> can be used to send requests to a named
server in the EXPLAIN mode. This can be used to test a server without having to put it
in production.
The first step is to start the server.
Example 1: How to start a XUA server for testing
$SYSTEM.XYGATEUA 1> RUN XYGATEUA/name $XUA,NOWAIT/SERVER KEEPOPEN
$SYSTEM.XYGATEUA 2> STATUS $XUA
System \SIMI
Process Pri PFR %WT Userid Program file Hometerm
$XUA 0,308 198 004 222,80 $SYSTEM.XYGATEUA.XYGATEUA $VHS
Swap File Name: $SYSTEM.#0
Library File Name: $SYSTEM.XYGATEUA.UALIB
Then you can specify this server in Access mode by typing:
SERVER <$server process name>
Example 2: How to specify a test server process in What-if testing
$SYSTEM.XYGATEUA 3> RUN XYGATEUA ACCESS
XYGATEUA 1.70 (c) 1999-2010 XYPRO Technology Corporation XYPRO Technology
\SIMI 20031231
UACONF CHECKSUM 976486471 ($SYSTEM.XYGATEUA.UACONF)
UAACL CHECKSUM 34236893 ($SYSTEM.XYGATEUA.UAACL)
Access check:SERVER $XUA
Server mode on
Access check: LOGON UATST.TEST003 * 0,0 * * 123.456.78.90
Access result NO
Access check: server
SERVER mode turned off
Access check:EXIT
Note: Leaving <process name> empty will turn off server mode.