浏览代码

Update SubjectDnX509PrincipalExtractor.java

Added missing asterisk
sunflower-seed 6 年之前
父节点
当前提交
2e6ff72c31

+ 1 - 1
web/src/main/java/org/springframework/security/web/authentication/preauth/x509/SubjectDnX509PrincipalExtractor.java

@@ -36,7 +36,7 @@ import java.util.regex.Matcher;
  * expression "CN=(.*?)(?:,|$)" matches the common name field. So
  * "CN=Jimi Hendrix, OU=..." will give a user name of "Jimi Hendrix".
  * <p>
- * The matches are case insensitive. So "emailAddress=(.?)," will match
+ * The matches are case insensitive. So "emailAddress=(.*?)," will match
  * "EMAILADDRESS=jimi@hendrix.org, CN=..." giving a user name "jimi@hendrix.org"
  *
  * @author Luke Taylor