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

64 lines
4.1 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="Requesting optional security services" />
<meta name="abstract" content="Your application can request any of several optional security services. IBM JGSS supports several services." />
<meta name="description" content="Your application can request any of several optional security services. IBM JGSS supports several services." />
<meta name="DC.Relation" scheme="URI" content="rzahajgssdev10.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssdev1040.htm" />
<meta name="DC.Relation" scheme="URI" content="rzahajgssdev1060.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="rzahajgssdev1050" />
<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>Requesting optional security services</title>
</head>
<body id="rzahajgssdev1050"><a name="rzahajgssdev1050"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Requesting optional security services</h1>
<div><p>Your application can request any of several optional security services. IBM<sup>®</sup> JGSS
supports several services.</p>
<p>The supported optional services are:</p>
<ul><li>Delegation</li>
<li>Mutual authentication</li>
<li>Replay detection</li>
<li>Out-of-sequence detection</li>
<li>Available per-message confidentiality</li>
<li>Available per-message integrity</li>
</ul>
<p>To request an optional service, your application must explicitly request
it by using the appropriate request method on the context. Only an initiator
can request these optional services. The initiator must make the request before
context establishment begins.</p>
<p>For more information about optional services, see Optional Service Support
in Internet Engineering Task Force (IETF) RFC 2743 <a href="http://www.ietf.org/rfc/rfc2743.txt" target="_blank">Generic Security Services Application Programming Interface
Version 2, Update 1 </a> .</p>
<p><strong>Example: Requesting optional services</strong></p>
<p>In the following example, a context (fooContext) makes requests to enable
mutual authentication and delegation services: </p>
<pre> fooContext.requestMutualAuth(true);
fooContext.requestCredDeleg(true);</pre>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahajgssdev10.htm" title="There are multiple steps required to develop a JGSS application, including using transport tokens, creating the necessary JGSS objects, establishing and deleting context, and using per-message services.">IBM JGSS application programming steps</a></div>
<div class="previouslink"><strong>Previous topic:</strong> <a href="rzahajgssdev1040.htm" title="IBM JGSS supports two methods provided by GSSManager for creating a context.">Creating GSSContext</a></div>
<div class="nextlink"><strong>Next topic:</strong> <a href="rzahajgssdev1060.htm" title="The two communicating peers must establish a security context over which they can use per-message services.">Establishing context</a></div>
</div>
</div>
</body>
</html>