01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

122 <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> <strong>V5</strong><br />

Verifying EPI signon capable security<br />

In our scenario, we set USEDFLTUSER(YES) on our CONNECTION definition.<br />

This means the CTIN and CESN requests will run using the default user ID.<br />

<strong>The</strong>refore we needed to supply only a valid user ID and password for the request<br />

to run our actual EPI transaction.<br />

Tip: If you set USEDFLTUSER(YES) on your CONNECTION definition, then<br />

you should realize that this will allow any user to install EPI terminals in your<br />

<strong>CICS</strong> region without any authentication, since any user ID and password<br />

specified on the Terminal constructor will be ignored for the install of the<br />

terminal by the CTIN transaction. If you wish to restrict this behavior, you<br />

should specify USEDFLTUSER(NO) on the <strong>CICS</strong> CONNECTION definition<br />

and then specify a valid user ID and password for the CTIN install. In<br />

Figure 6-10 this is controlled by the termUserid and termPassword fields. If you<br />

do this, you must also permit READ access to the CTIN transaction for the<br />

desired user ID using the following commands:<br />

RDEF T<strong>CICS</strong>TRN SCSCPJA4.CTIN UACC(NONE)<br />

PERMIT SCSCPJA4.CTIN CLASS(T<strong>CICS</strong>TRN) ID(<strong>CICS</strong>RS2) ACCESS(READ)<br />

SETROPTS RACLIST(T<strong>CICS</strong>TRN) REFRESH<br />

In Example 6-7, you can see the results of a successful call to the EPIP<br />

transaction from our SignonCapable EPI application.<br />

Example 6-7 Successful test with SignonCapable EPI application<br />

C:\itsoctgv5\Java>java itso.cics.epi.SignonCapable tcp:\\volga SC62PJA4 <strong>CICS</strong>RS2<br />

PASSWORD<br />

<strong>Gateway</strong> URL: tcp://volga/<br />

Region: SC62PJA4<br />

Userid: <strong>CICS</strong>RS2<br />

Password: PASSWORD<br />

Adding signon capable terminal with userid:null<br />

Netname: CCLIE017<br />

Starting CESN<br />

Entering userid and password<br />

DFHCE3549:Now signed on to <strong>CICS</strong><br />

Starting EPIP<br />

EPIP results<br />

Time : 02:12:01<br />

Date : 25/06/02<br />

Applid : SCSCPJA4<br />

Userid : <strong>CICS</strong>RS2<br />

Closing terminal and gateway

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!