Commit Graph

48 Commits

Author SHA1 Message Date
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Sibabrata Sahoo
1e34f70a1d 8151654: Additional modular test for "auth.login.defaultCallbackHandler"
Reviewed-by: mchung, weijun
2016-07-26 09:53:35 +08:00
Chris Hegarty
25b68378f6 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 20:12:13 +01:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Weijun Wang
7852a473da 8147772: Update KerberosTicket to describe behavior if it has been destroyed and fix NullPointerExceptions
Reviewed-by: mullan
2016-02-17 11:23:48 +08:00
Ivan Gerasimov
9d40f3ec9b 8146967: [TEST_BUG] javax/security/auth/SubjectDomainCombiner/Optimize.java should use 4-args ProtectionDomain constructor
Reviewed-by: mullan, valeriep
2016-01-15 11:49:36 +03:00
Chris Hegarty
a979586dce 8144995: Move sun.misc.HexDumpEncoder to sun.security.util
Reviewed-by: psandoz, mchung
2015-12-14 19:24:33 +00:00
Amanda Jiang
1e3b7fe1c2 8050427: LoginContext tests to cover JDK-4703361
Reviewed-by: weijun
2015-09-24 10:23:01 +08:00
Amanda Jiang
39ca61ab1d 8050461: Tests for syntax checking of JAAS configuration file
Reviewed-by: weijun
2015-09-22 09:34:01 +08:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Svetlana Nikandrova
72ddd6cff7 8050460: JAAS login/logout tests with LoginContext
Reviewed-by: xuelei
2015-08-20 11:16:54 -07:00
Artem Smotrakov
26b5d4f29a 8049814: Additional SASL client-server tests
Reviewed-by: weijun
2015-07-16 09:20:39 +08:00
Artem Smotrakov
c537edfa2d 8129575: Equal DelegationPermission instances may return different hash codes
Reviewed-by: mullan, weijun
2015-06-25 20:20:41 +08:00
Amanda Jiang
aee58f70c2 8050409: Test for JAAS getPrivateCredentials
Reviewed-by: weijun
2015-06-19 14:06:24 +08:00
Sean Mullan
e37ef5fefc 8056179: Store permissions in concurrent collections in PermissionCollection subclasses
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class

Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Sean Mullan
96b94e09d7 8034820: Wrong isAssignableFrom test when adding Principal to Subject
Reviewed-by: valeriep
2015-05-11 07:03:24 -04:00
Artem Smotrakov
ccb64b56b2 8076486: [TESTBUG] javax/security/auth/Subject/doAs/NestedActions.java fails if extra VM options are given
Reviewed-by: weijun
2015-05-06 09:22:03 +08:00
Artem Smotrakov
f3a11c507f 8048138: Tests for JAAS callbacks
Reviewed-by: weijun
2015-04-23 18:01:01 +08:00
Weijun Wang
2d5fbe3e4d 8047789: auth.login.LoginContext needs to be updated to work with modules
Reviewed-by: mullan, mchung, alanb
2015-04-10 09:15:34 +08:00
Artem Smotrakov
636ae484e4 8048147: Privilege tests with JAAS Subject.doAs
Reviewed-by: weijun
2015-03-20 16:01:59 +08:00
Weijun Wang
bfa19ebfbc 8043071: Expose session key and KRB_CRED through extended GSS-API
Reviewed-by: mullan
2014-07-19 10:20:42 +08:00
Valerie Peng
efa54ce543 8043406: Change default policy for JCE providers to run with as few privileges as possible
Provide default permissions for crypto providers

Reviewed-by: mullan, vinnie
2014-07-10 22:44:58 +00:00
Jamil Nimeh
2edd214440 8015081: javax.security.auth.Subject.toString() throws NPE
Reviewed-by: xuelei, weijun
2014-07-01 09:46:20 -07:00
Weijun Wang
87cb02ac81 8039575: liberate two manual kerberos tests
Reviewed-by: xuelei
2014-04-10 10:31:05 +08:00
Weijun Wang
8962e7ee34 8035986: KerberosKey algorithm names are not specified
Reviewed-by: xuelei
2014-04-09 17:19:19 +08:00
Rajan Halade
56b41822fb 8033271: Manual security tests have @ignore rather than @run main/manual
Reviewed-by: xuelei, wetmore
2014-03-18 15:04:59 -07:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Mark Sheppard
ec9e303630 8006182: cleanup to use java.util.Base64 in java security component, providers, and regression tests
Refactored code to use java.util.Base64 Mime Encoder and Decoder as a replacement for sun.misc.BASE64Encoder and sun.misc.BASE64Decoder

Reviewed-by: vinnie, chegar, sherman
2013-02-21 20:01:22 +00:00
Vinnie Ryan
995a0dc1b8 6263419: No way to clean the memory for a java.security.Key
Reviewed-by: mullan
2013-01-22 23:32:15 +00:00
Alan Bateman
c12b624078 8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Sean Mullan
5977a2d6a7 7024604: OID.1 causes IAE in X500Principal constructor
Reviewed-by: vinnie
2012-02-15 07:45:42 -05:00
Weijun Wang
c4f77e41b6 7090565: Move test/closed/javax/security/auth/x500/X500Principal/Parse.java to open tests
Reviewed-by: mullan
2012-01-13 09:50:19 +08:00
Weijun Wang
0ac639e5b0 7094842: test/javax/security/auth/Subject/{Synch.java,Synch2.java,Synch3.java} loop forever in agentvm mode
Reviewed-by: alanb
2011-09-26 17:13:47 +08:00
Sean Mullan
e96d7e3af4 7024771: "\\<>" in attribute value part of X500Principal constructor parameter makes strange effect
Reviewed-by: vinnie
2011-08-29 12:22:06 -04:00
Weijun Wang
610c9dd4e3 7055363: jdk_security3 test target cleanup
Reviewed-by: alanb, xuelei
2011-08-12 12:26:31 +08:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Bradford Wetmore
fc188b8b29 6867657: Many JSN tests do not run under cygwin
Reviewed-by: ohair
2009-08-06 17:56:59 -07:00
Valerie Peng
c2d32a0f1b 6695818: New regression test (KerberosTixDateTest) for Kerberos failing on (probably) all platforms
Reviewed-by: mullan
2008-04-30 11:10:33 -07:00
Valerie Peng
818282ec8c 6659990: KerberosTicket.getEndTime does not copy date (findbugs)
Reviewed-by: mullan
2008-04-25 15:24:48 -07:00
Weijun Wang
c5757d6fbd 6675606: javax.security.auth.login.Configuration does not recognize path with spaces
Reviewed-by: chegar, xuelei
2008-04-10 19:58:48 +08:00
Sean Mullan
cf50796ba5 6611991: Add support for parsing RFC4514 DNs to X500Principal
Added new test and made one code change to escape null characters.

Reviewed-by: vinnie
2008-03-13 13:29:27 -04:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00