ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/webserv/wssecovtokbin.htm

42 lines
1.9 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Binary security tokens</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h6><a name="wssecovtokbin"></a>Binary security tokens</h6>
<p>A binary security token has the following attributes that are used to interpret it:</p>
<ul>
<li><p><strong>ValueType</strong>
<br>The ValueType attribute identifies the type of the security token, for example, an LTPA token.</p></li>
<li><p><strong>Encoding Type</strong>
<br>The EncodingType indicates how the security token is encoded, for example, <tt>Base64Binary</tt>. The BinarySecurityToken element defines a security token that is binary encoded.</p></li>
</ul>
<p>The Web services security implementation for WebSphere Application Server - Express supports both LTPA and X.509 certificate binary security tokens.</p>
<p>The following example shows an LTPA binary security token in a Web services security message header:</p>
<pre>&lt;wsse:BinarySecurityToken
xmlns:ns7902342339871340177=http://www.ibm.com/websphere/appserver/tokentype/5.0.2&quot;
EncodingType=&quot;wsse:Base64Binary&quot; ValueType=&quot;ns7902342339871340177:LTPA&quot;&gt;
MIZ6LGPt2CzXBQfio9wZTo1VotWov0NW3Za6lU5K7Li78DSnIK6iHj3hxXgrUn6p4wZI
8Xg26havepvmSJ8XxiACMihTJuh1t3ufsrjbFQJOqh5VcRvI+AKEaNmnEgEV65jUYAC9
C/iwBBWk5U/6DIk7LfXcTT0ZPAd+3D3nCS0f+6tnqMou8EG9mtMeTKccz/pJVTZjaRSo
msu0sewsOKfl/WPsjW0bR/2g3NaVvBy18VlTFBpUbGFVGgzHRjBKAGo+ctkl80nlVLIk
TUjt/XdYvEpOr6QoddGi4okjDGPyyoDxcvKZnReXww5UsoqlpfXwN4KG9as=
&lt;/wsse:BinarySecurityToken&gt;&lt;/wsse:Security&gt;&lt;/soapenv:Header&gt;</pre>
<p>As shown in the example, the token is Base64Binary encoded.</p>
</body>
</html>