User guide

Developing Java Applications
7-39
Sample Code Storage Location
Sample codes are stored in the following directories (hereafter referred to as sample directories).
Interstage install directory: C:\Interstage
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi
/opt/FJSVssoaz/sample/javaapi
Table 7-24 lists the files required to execute the sample code.
Table 7-24 Sample Code
File Explanation
jaassample.war War file
webapp/jaassample/WEB-
INF/isssojaaslogin.conf
Servlet login configuration file
webapp/jaassample/WEB-INF/web.xml Web application environment configuration file
(Deployment Descriptor)
SampleServlet.java Servlet java source file
UidPasswordServlet.java Servlet java source file for authentication using
user ID/password
Execution Procedure
(1) Servlet Service Environment Setup
To enable the IJServer user to read the business server configuration, set up the environment as follows.
1. Use the useradd command to create an IJServer user.
2. Grant the created user authority equivalent to the file access permission of the user specified in the
User directive in the Interstage HTTP Server environment configuration file (httpd.conf).
3. Specify the name of the created user in the User directive in the httpd.conf file.
4. Use the Interstage Management Console to select [System] > [Security] > [Single Sign-on] >
[Business system] > [Business system Name] > [Settings] tab and click [Update]. (*1)
*1 For details, refer to “Changing Effective User for Web Server" in Chapter 4 – Operation and
Maintenance.