Skip to content

Commit 2e6ff72

Browse files
sunflower-seedrwinch
authored andcommitted
Update SubjectDnX509PrincipalExtractor.java
Added missing asterisk
1 parent e26bb2b commit 2e6ff72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* expression "CN=(.*?)(?:,|$)" matches the common name field. So
3737
* "CN=Jimi Hendrix, OU=..." will give a user name of "Jimi Hendrix".
3838
* <p>
39-
* The matches are case insensitive. So "emailAddress=(.?)," will match
39+
* The matches are case insensitive. So "emailAddress=(.*?)," will match
4040
* "[email protected], CN=..." giving a user name "[email protected]"
4141
*
4242
* @author Luke Taylor

0 commit comments

Comments
 (0)