Commit Graph

163 Commits

Author SHA1 Message Date
Ivan Gerasimov
3790e58090 8241761: Typos: empty lines in javadoc, inconsistent indents, etc. (security-libs only)
Reviewed-by: weijun
2020-04-01 18:38:05 -07:00
Weijun Wang
aa3638a32d 8231508: Spec Clarification : KeyTab:exist() method does not specify about the fallback details
Reviewed-by: mullan
2020-02-11 11:17:37 +08:00
Patrick Zhang
03721247d8 8238388: libj2gss/NativeFunc.o "multiple definition" link errors with GCC10
Fixed libj2gss link errors caused by GCC10 default -fno-common

Reviewed-by: weijun
2020-02-05 20:31:09 +08:00
Mikael Vidstedt
3318314c7c 8237589: Fix copyright header formatting
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Jesper Wilhelmsson
51d5164ca2 Merge 2020-01-16 04:09:50 +01:00
Weijun Wang
f4af0eadb6 8236405: Formatting issues in Kerberos debug output
Reviewed-by: mullan
2019-12-21 15:27:37 +08:00
Weijun Wang
f3815c85a1 8231139: Improved keystore support
Reviewed-by: mullan, ahgross
2019-10-09 17:42:38 +08:00
Weijun Wang
7c32a6aeae 8231134: Improved credential support
Reviewed-by: ahgross, valeriep
2019-09-26 18:13:20 +08:00
Weijun Wang
bda0fba56b 8229951: Better Ticket Granting Services
Reviewed-by: ahgross, valeriep
2019-09-26 18:12:53 +08:00
Martin Balao
4fa827ec92 8005819: Support cross-realm MSSFU
Reviewed-by: weijun
2019-12-11 15:43:42 -03:00
Weijun Wang
36bd09dead 8233222: Clarify system property usage in KerberosPrincipal instantiation
Reviewed-by: mullan
2019-12-07 09:40:28 +08:00
Martin Doerr
b1e086a5fc 8220348: [ntintel] asserts about copying unaligned array
Reviewed-by: clanger, stuefe
2019-12-06 14:31:05 +01:00
Weijun Wang
ab280fcac4 8234267: DelegationPermission implementation doesn't completely follow the updated specification
Reviewed-by: xuelei
2019-12-05 10:36:46 +08:00
Martin Balao
171257ea1a 8233946: Add @since 13 annotation to KerberosPrincipal.KRB_NT_ENTERPRISE field
Reviewed-by: clanger
2019-11-12 12:36:16 -03:00
Ivan Gerasimov
8e859259bc 8233884: Avoid looking up standard charsets in security libraries
Reviewed-by: coffeys
2019-11-12 01:36:17 -08:00
Weijun Wang
026a05d0c6 8231365: ServicePermission::equals doesn't comply to the spec
8231196: DelegationPermission allows to create an instance that thows NPE on ::equals call

Reviewed-by: mullan
2019-10-29 09:34:23 +08:00
Henry Jen
8d141f1048 Merge 2019-10-14 21:01:25 +00:00
Joe Darcy
8fe60f46d7 8231368: Suppress warnings on non-serializable non-transient instance fields in java.security.jgss
Reviewed-by: mullan, coffeys
2019-10-08 15:27:13 -07:00
Weijun Wang
12c278c3e3 8228659: Record which Java methods are called by native codes in JGSS and JAAS
Reviewed-by: mullan
2019-09-25 17:54:21 +08:00
Thomas Stuefe
dcbc28790d 8230910: libsspi_bridge does not build on Windows 32bit
Reviewed-by: alanb, weijun
2019-09-15 08:41:48 +02:00
Ivan Gerasimov
5c25e2a6fb 8211360: Change #if DEF to #if defined(DEF)
Reviewed-by: bpb, vtewari
2019-08-21 13:49:16 -07:00
Martin Balao
3cd50f2666 8227437: S4U2proxy cannot continue because server's TGT cannot be found
Reviewed-by: weijun
2019-07-17 12:26:56 -03:00
Weijun Wang
2dc4bfe056 8217563: Improve realm maintenance
Reviewed-by: mullan, mschoene, valeriep
2019-01-30 10:51:50 +08:00
Weijun Wang
e133dbf7bd 8227381: GSS login fails with PREAUTH_FAILED
Reviewed-by: xuelei
2019-07-10 09:43:34 +08:00
Weijun Wang
e03c2a270b 8225687: Newly added sspi.cpp in JDK-6722928 still contains some small errors
Reviewed-by: xuelei
2019-07-10 09:43:34 +08:00
Weijun Wang
17bc4c4bcf 8227305: Krb5Util::getTicketFromSubjectAndTgs is useless
Reviewed-by: xuelei
2019-07-06 08:11:19 +08:00
Weijun Wang
77a6a6e1ae 8226963: More clarification on possible sequencing error in GSSContext::unwrap
Reviewed-by: mullan
2019-07-04 07:25:47 +08:00
Weijun Wang
d678ba83dd 8226719: Kerberos login to Windows 2000 failed with "Inappropriate type of checksum in message"
Reviewed-by: xuelei
2019-07-03 11:43:01 +08:00
Weijun Wang
475996adc2 6722928: Support SSPI as a native GSS-API provider
Reviewed-by: erikj, nwilliams, valeriep
2019-06-13 10:06:07 +08:00
Martin Balao
5aae9ef0db 8215032: Support Kerberos cross-realm referrals (RFC 6806)
Reviewed-by: weijun
2019-06-05 01:42:11 -03:00
Weijun Wang
f4dfa02438 8225304: Tiny HTML error (bad heading) in org.ietf.jgss package-info.java
Reviewed-by: xuelei
2019-06-06 21:19:07 +08:00
Weijun Wang
fdae3113a1 8224025: Fix for JDK-8220302 is not complete
Reviewed-by: ahgross, mullan, valeriep
2019-05-21 08:37:30 +08:00
Weijun Wang
cb06712f5a 8220302: Better Kerberos ccache handling
Reviewed-by: valeriep
2019-04-19 10:22:20 +08:00
Henry Jen
d77f96b0b2 Merge 2018-12-13 11:47:35 -08:00
Weijun Wang
cf21c5ef11 8214568: Use {@systemProperty} for definitions of system properties
Reviewed-by: xuelei
2018-12-13 12:03:03 +08:00
Nico Williams
58a340bcb1 8212217: JGSS: Don't dispose() of creds too eagerly
Reviewed-by: mullan, weijun
2018-11-01 22:41:32 +08:00
Nico Williams
10027304cd 8212216: JGSS: Fix leak in exception cases in getJavaOID()
Reviewed-by: mullan, weijun
2018-10-23 12:25:59 +08:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Weijun Wang
d2590ffc9d 8210610: Improved LSA authentication
Reviewed-by: valeriep, mschoene, rhalade
2018-09-29 10:08:42 +08:00
Viktor Dukhovni
2a10506942 8212165: JGSS: Fix cut/paste error in NativeUtil.c
Reviewed-by: alanb, weijun
2018-10-16 09:19:32 +08:00
Weijun Wang
9452b88d93 8210821: Support dns_canonicalize_hostname in krb5.conf
Reviewed-by: valeriep
2018-10-02 16:02:35 +08:00
Weijun Wang
dcb930f123 8186186: GSSContext.isEstablished() can return true on error state
Reviewed-by: weijun
2018-08-21 20:19:46 -07:00
Weijun Wang
33a96c6df9 8209416: Refactoring GetPropertyAction calls in security libs
Reviewed-by: xuelei, rriggs
2018-08-14 22:39:34 +08:00
Xue-Lei Andrew Fan
87c6761704 8196584: TLS 1.3 Implementation
Co-authored-by: Adam Petcher <adam.petcher@oracle.com>
Co-authored-by: Amanda Jiang <amanda.jiang@oracle.com>
Co-authored-by: Anthony Scarpino <anthony.scarpino@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Jamil Nimeh <jamil.j.nimeh@oracle.com>
Co-authored-by: John Jiang <sha.jiang@oracle.com>
Co-authored-by: Rajan Halade <rajan.halade@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: ascarpino, coffeys, dfuchs, jjiang, jnimeh, mullan, rhalade, ssahoo, valeriep, weijun, wetmore, xuelei
2018-06-25 13:41:39 -07:00
Prasadrao Koppula
b3e5409c1d 8187218: GSSCredential.getRemainingLifetime() returns negative value for TTL > 24 days
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: mullan
2018-03-20 11:16:10 +05:30
Jan Kalina
4e86e3720b 8194073: Invalid SunNativeProvider.INSTANCE initialization
Changed to always construct INSTANCE after MECH_MAP

Reviewed-by: valeriep
2018-06-11 19:39:05 +00:00
Magnus Ihse Bursie
402777ea0f 8204572: SetupJdkLibrary should setup SRC and -I flags automatically
Reviewed-by: erikj
2018-06-08 18:11:32 +02:00
Weijun Wang
154849b1c5 8072996: Deprecate stream-based GSSContext methods
Reviewed-by: mullan
2018-05-30 22:24:20 +08:00
Jan Kalina
9d1ada26aa 8194630: Uninitialized initiator_address in native GSS
Zeroized the initiator/acceptor_address in gss_channel_bindings_t

Reviewed-by: valeriep
2018-05-24 00:37:29 +00:00
Weijun Wang
48b5731c39 8201627: Kerberos sequence number issues
Reviewed-by: valeriep
2018-05-19 22:06:47 +08:00
Weijun Wang
b8855ebbc2 8201867: Kerberos keytabs with holes in certain places are parsed incorrectly
Reviewed-by: valeriep
2018-05-18 16:27:15 +08:00
Weijun Wang
0b6fbf50d2 8200468: Port the native GSS-API bridge to Windows
Reviewed-by: ihse, valeriep
2018-04-13 15:29:33 +08:00
Weijun Wang
370977cf4f 8200152: KerberosString should use UTF-8 by default
Reviewed-by: xuelei
2018-04-10 11:02:09 +08:00
Weijun Wang
5d3e5d9275 8197518: Kerberos krb5 authentication: AuthList's put method leads to performance issue
Reviewed-by: coffeys, xuelei
2018-02-26 08:30:30 +08:00
Weijun Wang
15ac25be9d 8177398: Exclude dot files ending with .conf from krb5.conf's includedir
Reviewed-by: mullan
2018-01-26 09:37:10 +08:00
Weijun Wang
724d1916fe 8014628: Support AES Encryption with HMAC-SHA2 for Kerberos 5
Reviewed-by: mullan
2018-01-22 12:00:41 +08:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Goetz Lindenmaier
22762d1cdc 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
2018-01-16 08:48:34 +01:00
Ivan Gerasimov
ebd0400570 8187497: Redundant variable assignment in Java_sun_security_jgss_wrapper_GSSLibStub_getMic
Reviewed-by: wetmore
2017-12-02 18:37:45 -08:00
Weijun Wang
bb586d9974 8186600: Improve property negotiations
Reviewed-by: valeriep, ahgross, mullan
2017-10-18 10:43:58 +08:00
Weijun Wang
fe19274488 8186831: Kerberos ignores PA-DATA with a non-null s2kparams
Reviewed-by: xuelei
2017-09-21 16:29:45 +08:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Valerie Peng
c5f521e176 8186212: Improve GSS handling
Reviewed-by: weijun, ahgross
2017-08-24 19:18:51 +00:00