User guide

Chapter 7: Developing Applications
7-38
/opt/FJSVj2ee/var/deployment/ijserver/IJServer name/ext
For details on servlet application operation, refer to “Calling Servlets” in “How to Call Web Applications”
in the J2EE User’s Guide.
When Reactivation of an Application is Required
An application must be reactivated if a security policy, login configuration, or service ID file is updated;
settings are changed in [Report User Information] in [Linkage with Web Application] in the business
server environment setup; or the business system is re-set up. If the application is a servlet application,
stop IJServer before reactivating it.
Sample Code
This section explains how to use single sign-on JavaAPI sample codes. The sample codes are
classified into two groups as follows:
Servlet application
Servlet application that receives authentication information from a client
Servlet application that receives a user ID/password from a client to perform authentication
Application that uses a user ID/password for authentication and authorization
Executing these samples requires single sign-on environments set up according to “Environment Setup
(SSO Administrators)” and “Environment Setup (SSO Business Server Administrators).”
Servlet Application
Outline
A servlet application sample receives authentication information confirming successful authentication
from a client and displays information on the authenticated user, or uses a user ID/password received
from a client to perform authentication for an authentication server. To use a sample, a Web server
linked to the servlet must be set up as a business server.
Table 7-23 Business Server setup
URL Application Registration
of Protection
Resource
http(s)://Business server name:port
number/jaassample/SampleServlet
Servlet application that receives
authentication success confirmation
from a client
Required
http(s)://Business server name:port
number/jaassample/UidPasswordServlet
Servlet application that receives a
user ID/password from a client to
perform authentication
Not Required