Skip to content

Commit 7a2e198

Browse files
committed
8352277: java.security documentation: incorrect regex syntax describing "usage" algorithm constraint
Reviewed-by: mullan, hchao, ascarpino
1 parent b7ca76e commit 7a2e198

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/java.base/share/conf/security/java.security

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,10 @@ sun.security.krb5.maxReferrals=5
535535
# denyAfter YYYY-MM-DD
536536
#
537537
# UsageConstraint:
538-
# usage [TLSServer] [TLSClient] [SignedJAR]
538+
# usage UsageType { UsageType }
539+
#
540+
# UsageType:
541+
# TLSServer | TLSClient | SignedJAR
539542
#
540543
# IncludeProperty:
541544
# include <security property>
@@ -598,9 +601,9 @@ sun.security.krb5.maxReferrals=5
598601
# use the following: "RSA keySize == 2048 & denyAfter 2020-02-03"
599602
#
600603
# UsageConstraint:
601-
# usage [TLSServer] [TLSClient] [SignedJAR]
604+
# usage UsageType { UsageType }
602605
# This constraint prohibits the specified algorithm for
603-
# a specified usage. This should be used when disabling an algorithm
606+
# a specified UsageType. This should be used when disabling an algorithm
604607
# for all usages is not practical. 'TLSServer' restricts the algorithm
605608
# in TLS server certificate chains when server authentication is
606609
# performed. 'TLSClient' restricts the algorithm in TLS client

0 commit comments

Comments
 (0)