50 lines
3.4 KiB
HTML
50 lines
3.4 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="concept" />
|
||
|
<meta name="DC.Title" content="Using a password cache" />
|
||
|
<meta name="abstract" content="The password cache allows the IBM Toolbox for Java to save password and user ID information so that it does not prompt the user for that information every time a connection is made." />
|
||
|
<meta name="description" content="The password cache allows the IBM Toolbox for Java to save password and user ID information so that it does not prompt the user for that information every time a connection is made." />
|
||
|
<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="as400cache" />
|
||
|
<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>Using a password cache</title>
|
||
|
</head>
|
||
|
<body id="as400cache"><a name="as400cache"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Using a password cache</h1>
|
||
|
<div><p>The password cache allows the IBM<sup>®</sup> Toolbox for Java™ to save password and user ID information
|
||
|
so that it does not prompt the user for that information every time a connection
|
||
|
is made. </p>
|
||
|
<p>Use the methods provided by the AS400 object to do the following:</p>
|
||
|
<ul><li>Clear the password cache and disable the password cache</li>
|
||
|
<li>Minimize the number of times a user must type sign-on information</li>
|
||
|
</ul>
|
||
|
<p>The password cache applies to all AS400 objects that represent an iSeries™ server
|
||
|
within a Java virtual machine. Java does not allow sharing information
|
||
|
between virtual machines, so a cached password in one Java virtual
|
||
|
machine is not visible to another virtual machine. The cache is discarded
|
||
|
when the last AS400 object is garbage collected. The Sign-on dialog has a
|
||
|
checkbox that gives the user the option to cache the password. When an AS400
|
||
|
object is constructed, the Java program has the option to supply the
|
||
|
user ID and password. Passwords supplied on constructors are not cached.</p>
|
||
|
<p>The AS400 object provides methods to <a href="javadoc/com/ibm/as400/access/AS400.html#CLEARPASSWORDCACHE()"> clear the password cache</a> and <a href="javadoc/com/ibm/as400/access/AS400.html#SETUSEPASSWORDCACHE(BOOLEAN)"> disable the password cache</a> . See <a href="as400sum.htm#as400sum"> Prompting,
|
||
|
default user ID, and password caching summary</a> for more information.</p>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|