Skip to content

Commit fd2798c

Browse files
hotirerwinch
authored andcommitted
Fix typo in Javadoc of ServerHttpSecurity#hasAuthority
Closes gh-8336
1 parent 173660c commit fd2798c

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
@@ -675,7 +675,7 @@ public AuthorizeExchangeSpec hasRole(String role) {
675675

676676
/**
677677
* Require a specific authority.
678-
* @param authority the authority to require (i.e. "USER" woudl require authority of "USER").
678+
* @param authority the authority to require (i.e. "USER" would require authority of "USER").
679679
* @return the {@link AuthorizeExchangeSpec} to configure
680680
*/
681681
public AuthorizeExchangeSpec hasAuthority(String authority) {

0 commit comments

Comments
 (0)