70 lines
4.9 KiB
HTML
70 lines
4.9 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="AS400 class" />
|
|
<meta name="abstract" content="The AS400 class manages a set of socket connections to the server jobs on server and sign-on behavior for the server, including prompting the user for sign-on information, password caching, and default user management." />
|
|
<meta name="description" content="The AS400 class manages a set of socket connections to the server jobs on server and sign-on behavior for the server, including prompting the user for sign-on information, password caching, and default user management." />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="as400obj" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>AS400 class</title>
|
|
</head>
|
|
<body id="as400obj"><a name="as400obj"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">AS400 class</h1>
|
|
<div><p>The AS400 class manages a set of socket connections to the server
|
|
jobs on server and sign-on behavior for the server, including prompting the
|
|
user for sign-on information, password caching, and default user management.</p>
|
|
<div class="section"><p>The Java™ program must provide an AS400 object when the Java program
|
|
uses an instance of a class that accesses the iSeries™ server. For example, the CommandCall
|
|
object requires an AS400 object before it can send commands to the iSeries server.</p>
|
|
<p>The
|
|
AS400 object handles connections, user IDs, and passwords differently when
|
|
it is running in the iSeries Java virtual machine. For more information,
|
|
see <a href="jvm.htm#jvm">iSeries Java virtual machine</a>.</p>
|
|
<p>AS400
|
|
objects now support Kerberos authentication, using the Java Generic
|
|
Security Service Application Programming Interface (JGSS API) to authenticate
|
|
to the server, instead of using a user ID and password.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> Using Kerberos
|
|
tickets requires that you install J2SDK, v1.4 and configure the Java Generic
|
|
Security Services (JGSS) Application Programming Interface. For more information
|
|
about JGSS, see the <a href="http://java.sun.com/j2se/1.4/docs/guide/security/index.html" target="_blank">J2SDK, v1.4 Security Documentation</a> <img src="www.gif" alt="Link outside information center" />.</div>
|
|
<p>See <a href="mngcon.htm#mngcon">managing
|
|
connections</a> for information on managing connections to the iSeries server
|
|
through the AS400 object. See <a href="javadoc/com/ibm/as400/access/AS400ConnectionPool.html#NAVBAR_TOP"> AS400ConnectionPool</a> for information on reducing initial
|
|
connect time by requesting connections from a connection pool.</p>
|
|
<p>The AS400
|
|
class provides the following sign-on functions:</p>
|
|
<ul><li><a href="javadoc/com/ibm/as400/access/AS400.html#METHOD_SUMMARY"> Authenticate</a> the user profile</li>
|
|
<li><a href="javadoc/com/ibm/as400/access/AS400.html#GETPROFILETOKEN(INT, INT)">Get a profile token</a> credential and authenticate the associated
|
|
user profile</li>
|
|
<li><a href="javadoc/com/ibm/as400/access/AS400.html#AS400(JAVA.LANG.STRING, COM.IBM.AS400.SECURITY.AUTH.PROFILETOKENCREDENTIAL)">Set a profile token</a> credential</li>
|
|
<li><a href="as400man.htm#as400man">Manage default user IDs</a></li>
|
|
<li><a href="as400cache.htm#as400cache">Cache passwords</a></li>
|
|
<li><a href="as400pmt.htm#as400pmt">Prompt for user ID</a></li>
|
|
<li><a href="javadoc/com/ibm/as400/access/AS400.html#METHOD_SUMMARY">Change</a> a password</li>
|
|
<li>Get the <a href="javadoc/com/ibm/as400/access/AS400.html#METHOD_SUMMARY"> version</a> and <a href="javadoc/com/ibm/as400/access/AS400.html#METHOD_SUMMARY"> release</a> of the iSeries</li>
|
|
</ul>
|
|
<p>For information about using an AS400 object when sending or receiving
|
|
encrypted data, see the <a href="ssl.htm#ssl">SecureAS400 class</a>.</p>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |