Skip to content

Commit 24d251f

Browse files
hotirerwinch
authored andcommitted
Fix typo in Javadoc of ServerHttpSecurity#hasAuthority
Closes gh-8336
1 parent 18610ea commit 24d251f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ public AuthorizeExchangeSpec hasRole(String role) {
15031503

15041504
/**
15051505
* Require a specific authority.
1506-
* @param authority the authority to require (i.e. "USER" woudl require authority of "USER").
1506+
* @param authority the authority to require (i.e. "USER" would require authority of "USER").
15071507
* @return the {@link AuthorizeExchangeSpec} to configure
15081508
*/
15091509
public AuthorizeExchangeSpec hasAuthority(String authority) {

0 commit comments

Comments
 (0)