ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/rzahajgsssamp.htm

120 lines
8.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Samples: IBM Java Generic Security Service (JGSS)" />
<meta name="abstract" content="The IBM Java Generic Security Service (JGSS) sample files include client and server programs, configuration files, policy files, and javadoc reference information. Use the sample programs to test and verify your JGSS setup." />
<meta name="description" content="The IBM Java Generic Security Service (JGSS) sample files include client and server programs, configuration files, policy files, and javadoc reference information. Use the sample programs to test and verify your JGSS setup." />
<meta name="DC.Relation" scheme="URI" content="rzahajgssover.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssconcept.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgsscfgmain.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssuse.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssdev.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssdebug.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssjavadoc.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgsssampview.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssdownloadjavadoc.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssdownloadsource.htm" />
<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="rzahajgsssamp" />
<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>Samples: IBM Java Generic
Security Service (JGSS)</title>
</head>
<body id="rzahajgsssamp"><a name="rzahajgsssamp"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Samples: IBM Java Generic
Security Service (JGSS)</h1>
<div><p>The IBM<sup>®</sup> Java™ Generic
Security Service (JGSS) sample files include client and server programs, configuration
files, policy files, and javadoc reference information. Use the sample programs
to test and verify your JGSS setup.</p>
<p>You can view HTML versions of the samples or download the javadoc information
and source code for the sample programs. Downloading the samples enables you
to view the javadoc reference information, examine the code, edit the configuration
and policy files, and compile and run the sample programs:</p>
<ul><li><a href="rzahajgsssampview.htm">View HTML versions of the samples</a></li>
<li><a href="rzahajgssdownloadjavadoc.htm">Download and view the sample
javadoc information</a></li>
<li><a href="rzahajgssdownloadsource.htm">Download and run the sample
programs</a></li>
</ul>
<div class="section"><h4 class="sectiontitle">Description of the sample programs</h4><p>The JGSS samples
include four programs:</p>
<ul><li>non-JAAS server</li>
<li>non-JAAS client</li>
<li>JAAS-enabled server</li>
<li>JAAS-enabled client</li>
</ul>
<p>The JAAS-enabled versions are fully interoperable with their non-JAAS
counterparts. So, you can run a JAAS-enabled client against a non-JAAS server
and you can run a non-JAAS client against a JAAS-enabled server.</p>
<div class="note"><span class="notetitle">Note:</span> When
you run a sample, you can specify one or more optional Java properties,
including the names of the configuration and policy files, JGSS debug options,
and the security manager. You can also turn on and turn off the JAAS features.</div>
<p>You
can run the samples in either a one-server or a two-server configuration.
The one server configuration consists of a client communicating with a primary
server. The two-server configuration consists of a primary and a secondary
server, where the primary server acts as an initiator, or client, to the
secondary server.</p>
<p>When using a two-server configuration, the client
first initiates a context and exchanges secure messages with the primary server.
Next, the client delegates its credentials to the primary server. Then, on
behalf of the client, the primary server uses these credentials to initiate
a context and exchange secure messages with the secondary server. You can
also use a two-server configuration in which the primary server acts as a
client on its own behalf. In this case, the primary server uses its own credentials
to initiate a context and exchange messages with the secondary server.</p>
<p>You
can simultaneously run any number of clients against the primary server. Although
you can run a client directly against the secondary server, the secondary
server cannot use delegated credentials or run as an initiator using its own
credentials.</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzahajgsssampview.htm">Viewing the IBM JGSS samples</a></strong><br />
The IBM Java Generic
Security Service (JGSS) sample files include client and server programs, configuration
files, policy files, and javadoc reference information. Use the following
links to view HTML versions of the JGSS samples.</li>
<li class="ulchildlink"><strong><a href="rzahajgssdownloadjavadoc.htm">Samples: Downloading and viewing javadoc information for the IBM JGSS samples</a></strong><br />
To download and view the documentation for the IBM JGSS sample
programs, complete the following steps.</li>
<li class="ulchildlink"><strong><a href="rzahajgssdownloadsource.htm">Samples: Downloading and running the sample programs</a></strong><br />
This topic contains instructions for downloading and running the sample javadoc information.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahajgssover.htm" title="The Java Generic Security Service (JGSS) provides a generic interface for authentication and secure messaging. Under this interface you can plug a variety of security mechanisms based on secret-key, public-key, or other security technologies.">IBM Java Generic Security Service (JGSS)</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzahajgssconcept.htm" title="JGSS operations consist of four distinct stages, as standardized by the Generic Security Service Application Programming Interface (GSS-API).">JGSS concepts</a></div>
<div><a href="rzahajgsscfgmain.htm" title="How you configure your iSeries server to use JGSS depends on which version of the Java 2 Software Development Kit (J2SDK) that you run on your server.">Configuring your iSeries server to use IBM JGSS</a></div>
<div><a href="rzahajgssuse.htm" title="The IBM Java Generic Security Service (JGSS) API 1.0 shields secure applications from the complexities and peculiarities of the different underlying security mechanisms. JGSS uses features provided by Java Authentication and Authorization Service (JAAS) and IBM Java Cryptography Extension (JCE).">Running IBM JGSS applications</a></div>
<div><a href="rzahajgssdev.htm" title="Use JGSS to develop secure applications. Learn about generating transport tokens, creating JGSS objects, establishing context, and more.">Developing IBM JGSS applications</a></div>
<div><a href="rzahajgssdebug.htm" title="When you are trying to identify JGSS problems, use the JGSS debugging capability to produce helpful categorized messages.">Debugging</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzahajgssjavadoc.htm" title="The javadoc reference information for IBM JGSS includes classes and methods in the org.ietf.jgss api package and the Java versions of some Kerberos credential management tools.">IBM JGSS javadoc reference information</a></div>
</div>
</div>
</body>
</html>