Skip to content

Commit 6d45ec5

Browse files
hotirerwinch
authored andcommitted
Fix typo in Javadoc of ServerHttpSecurity#hasAuthority
1 parent dc6b8ce commit 6d45ec5

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2646,7 +2646,7 @@ public AuthorizeExchangeSpec hasAnyRole(String... roles) {
26462646

26472647
/**
26482648
* Require a specific authority.
2649-
* @param authority the authority to require (i.e. "USER" woudl require authority of "USER").
2649+
* @param authority the authority to require (i.e. "USER" would require authority of "USER").
26502650
* @return the {@link AuthorizeExchangeSpec} to configure
26512651
*/
26522652
public AuthorizeExchangeSpec hasAuthority(String authority) {

0 commit comments

Comments
 (0)