Produced by Araxis Merge on 9/25/2018 2:13:12 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\javax\security\sasl | package-info.java | Mon Jan 22 14:46:54 2018 UTC |
2 | build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\javax\security\sasl | package-info.java | Wed Sep 12 17:23:37 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 204 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | /* | |
2 | * Copyrig ht (c) 199 9, 2013, O racle and/ or its aff iliates. A ll rights reserved. | |
3 | * DO NOT ALTER OR R EMOVE COPY RIGHT NOTI CES OR THI S FILE HEA DER. | |
4 | * | |
5 | * This co de is free software; you can r edistribut e it and/o r modify i t | |
6 | * under t he terms o f the GNU General Pu blic Licen se version 2 only, a s | |
7 | * publish ed by the Free Softw are Founda tion. Ora cle design ates this | |
8 | * particu lar file a s subject to the "Cl asspath" e xception a s provided | |
9 | * by Orac le in the LICENSE fi le that ac companied this code. | |
10 | * | |
11 | * This co de is dist ributed in the hope that it wi ll be usef ul, but WI THOUT | |
12 | * ANY WAR RANTY; wit hout even the implie d warranty of MERCHA NTABILITY or | |
13 | * FITNESS FOR A PAR TICULAR PU RPOSE. Se e the GNU General Pu blic Licen se | |
14 | * version 2 for mor e details (a copy is included in the LIC ENSE file that | |
15 | * accompa nied this code). | |
16 | * | |
17 | * You sho uld have r eceived a copy of th e GNU Gene ral Public License v ersion | |
18 | * 2 along with this work; if not, write to the Fr ee Softwar e Foundati on, | |
19 | * Inc., 5 1 Franklin St, Fifth Floor, Bo ston, MA 0 2110-1301 USA. | |
20 | * | |
21 | * Please contact Or acle, 500 Oracle Par kway, Redw ood Shores , CA 94065 USA | |
22 | * or visi t www.orac le.com if you need a dditional informatio n or have any | |
23 | * questio ns. | |
24 | */ | |
25 | ||
26 | /** | |
27 | * Contain s class an d interfac es for sup porting SA SL. | |
28 | * | |
29 | * This pa ckage defi nes classe s and inte rfaces for SASL mech anisms. | |
30 | * It is u sed by dev elopers to add authe ntication support fo r | |
31 | * connect ion-based protocols that use S ASL. | |
32 | * | |
33 | * <h3>SAS L Overview </h3> | |
34 | * | |
35 | * Simple Authentica tion and S ecurity La yer (SASL) specifies a | |
36 | * challen ge-respons e protocol in which data is ex changed be tween the | |
37 | * client and the se rver for t he purpose s of | |
38 | * authent ication an d (optiona l) establi shment of a security layer on | |
39 | * which t o carry on subsequen t communic ations. I t is used with | |
40 | * connect ion-based protocols such as LD APv3 or IM APv4. SAS L is | |
41 | * describ ed in | |
42 | * <A HREF ="http://w ww.ietf.or g/rfc/rfc2 222.txt">R FC 2222</A >. | |
43 | * | |
44 | * | |
45 | * There a re various <em>mecha nisms</em> defined f or SASL. | |
46 | * Each me chanism de fines the data that must be ex changed be tween the | |
47 | * client and server in order for the au thenticati on to succ eed. | |
48 | * This da ta exchang e required for a par ticular me chanism is referred to | |
49 | * to as i ts <em>pro tocol prof ile</em>. | |
50 | * The fol lowing are some exam ples of me chanisms t hat have b een define d by | |
51 | * the Int ernet stan dards comm unity. | |
52 | * <ul> | |
53 | * <li>DIG EST-MD5 (< A HREF="ht tp://www.i etf.org/rf c/rfc2831. txt">RFC 2 831</a>). | |
54 | * This me chanism de fines how HTTP Diges t Authenti cation can be used a s a SASL | |
55 | * mechani sm. | |
56 | * <li>Ano nymous (<A HREF="htt p://www.ie tf.org/rfc /rfc2245.t xt">RFC 22 45</a>). | |
57 | * This me chanism is anonymous authentic ation in w hich no cr edentials are | |
58 | * necessa ry. | |
59 | * <li>Ext ernal (<A HREF="http ://www.iet f.org/rfc/ rfc2222.tx t">RFC 222 2</A>). | |
60 | * This me chanism ob tains auth entication informati on | |
61 | * from an external source (su ch as TLS or IPsec). | |
62 | * <li>S/K ey (<A HRE F="http:// www.ietf.o rg/rfc/rfc 2222.txt"> RFC 2222</ A>). | |
63 | * This me chanism us es the MD4 digest al gorithm to exchange data based on | |
64 | * a share d PW . | |
65 | * <li>GSS API (<A HR EF="http:/ /www.ietf. org/rfc/rf c2222.txt" >RFC 2222< /A>). | |
66 | * This me chanism us es the | |
67 | * <A HREF ="http://w ww.ietf.or g/rfc/rfc2 078.txt">G SSAPI</A> | |
68 | * for obt aining aut henticatio n informat ion. | |
69 | * </ul> | |
70 | * | |
71 | * Some of these mec hanisms pr ovide both authentic ation and establishm ent | |
72 | * of a se curity lay er, others only auth entication . Anonymo us and | |
73 | * S/Key d o not prov ide for an y security layers. GSSAPI and DIGEST-MD 5 | |
74 | * allow n egotiation of the se curity lay er. For E xternal, t he | |
75 | * securit y layer is determine d by the e xternal pr otocol. | |
76 | * | |
77 | * <h3>Usa ge</h3> | |
78 | * | |
79 | * Users o f this API are typic ally devel opers who produce | |
80 | * client library im plementati ons for co nnection-b ased proto cols, | |
81 | * such as LDAPv3 an d IMAPv4, | |
82 | * and dev elopers wh o write se rvers (suc h as LDAP servers an d IMAP ser vers). | |
83 | * Develop ers who wr ite client libraries use the | |
84 | * {@code SaslClient } and {@co de SaslCli entFactory } interfac es. | |
85 | * Develop ers who wr ite server s use the | |
86 | * {@code SaslServer } and {@co de SaslSer verFactory } interfac es. | |
87 | * | |
88 | * Among t hese two g roups of u sers, each can be fu rther divi ded into t wo groups: | |
89 | * those w ho <em>pro duce</em> the SASL m echanisms and those | |
90 | * who <em >use</em> the SASL m echanisms. | |
91 | * The pro ducers of SASL mecha nisms need to provid e implemen tations | |
92 | * for the se interfa ces, while users of the SASL m echanisms use | |
93 | * the API s in this package to access th ose implem entations. | |
94 | * | |
95 | * <h2>Rel ated Docum entation</ h2> | |
96 | * | |
97 | * Please refer to t he | |
98 | * <a href ="../../.. /../techno tes/guides /security/ sasl/sasl- refguide.h tml">Java | |
99 | * SASL Pr ogramming Guide</a> for inform ation on h ow to use this API. | |
100 | * | |
101 | * @since 1.5 | |
102 | */ | |
103 | package ja vax.securi ty.sasl; |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.