mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Fix javadoc
This commit is contained in:
parent
e88c5c0eee
commit
50adb6abcb
@ -2223,7 +2223,7 @@ public class ServerHttpSecurity {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds the {@link SecurityWebFilterChain}
|
* Builds the {@link SecurityWebFilterChain}
|
||||||
* @return the {@link SecurityWebFilterChain
|
* @return the {@link SecurityWebFilterChain}
|
||||||
*/
|
*/
|
||||||
public SecurityWebFilterChain build() {
|
public SecurityWebFilterChain build() {
|
||||||
if (this.built != null) {
|
if (this.built != null) {
|
||||||
|
@ -24,11 +24,10 @@ import org.springframework.security.oauth2.core.OAuth2Error;
|
|||||||
import org.springframework.security.oauth2.core.OAuth2ErrorCodes;
|
import org.springframework.security.oauth2.core.OAuth2ErrorCodes;
|
||||||
import org.springframework.security.oauth2.core.OAuth2TokenValidator;
|
import org.springframework.security.oauth2.core.OAuth2TokenValidator;
|
||||||
import org.springframework.security.oauth2.core.OAuth2TokenValidatorResult;
|
import org.springframework.security.oauth2.core.OAuth2TokenValidatorResult;
|
||||||
import org.springframework.security.oauth2.jwt.Jwt;
|
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An implementation of {@see OAuth2TokenValidator} for verifying claims in a Jwt-based access token
|
* An implementation of {@link OAuth2TokenValidator} for verifying claims in a Jwt-based access token
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* Because clocks can differ between the Jwt source, say the Authorization Server, and its destination, say the
|
* Because clocks can differ between the Jwt source, say the Authorization Server, and its destination, say the
|
||||||
|
@ -41,7 +41,7 @@ import org.springframework.util.Assert;
|
|||||||
* <p>
|
* <p>
|
||||||
* <p>
|
* <p>
|
||||||
* This {@link AuthenticationProvider} is responsible for decoding and verifying a {@link Jwt}-encoded access token,
|
* This {@link AuthenticationProvider} is responsible for decoding and verifying a {@link Jwt}-encoded access token,
|
||||||
* returning its claims set as part of the {@see Authentication} statement.
|
* returning its claims set as part of the {@link Authentication} statement.
|
||||||
* <p>
|
* <p>
|
||||||
* <p>
|
* <p>
|
||||||
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:
|
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:
|
||||||
|
@ -51,7 +51,7 @@ import static org.springframework.security.oauth2.server.resource.introspection.
|
|||||||
* to check the token's validity and reveal its attributes.
|
* to check the token's validity and reveal its attributes.
|
||||||
* <p>
|
* <p>
|
||||||
* This {@link AuthenticationProvider} is responsible for introspecting and verifying an opaque access token,
|
* This {@link AuthenticationProvider} is responsible for introspecting and verifying an opaque access token,
|
||||||
* returning its attributes set as part of the {@see Authentication} statement.
|
* returning its attributes set as part of the {@link Authentication} statement.
|
||||||
* <p>
|
* <p>
|
||||||
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:
|
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:
|
||||||
* <ol>
|
* <ol>
|
||||||
|
@ -52,7 +52,7 @@ import static org.springframework.security.oauth2.server.resource.introspection.
|
|||||||
* to check the token's validity and reveal its attributes.
|
* to check the token's validity and reveal its attributes.
|
||||||
* <p>
|
* <p>
|
||||||
* This {@link ReactiveAuthenticationManager} is responsible for introspecting and verifying an opaque access token,
|
* This {@link ReactiveAuthenticationManager} is responsible for introspecting and verifying an opaque access token,
|
||||||
* returning its attributes set as part of the {@see Authentication} statement.
|
* returning its attributes set as part of the {@link Authentication} statement.
|
||||||
* <p>
|
* <p>
|
||||||
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:
|
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:
|
||||||
* <ol>
|
* <ol>
|
||||||
|
@ -52,7 +52,7 @@ public final class BearerTokenAuthenticationEntryPoint implements Authentication
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Collect error details from the provided parameters and format according to
|
* Collect error details from the provided parameters and format according to
|
||||||
* RFC 6750, specifically {@code error}, {@code error_description}, {@code error_uri}, and {@scope scope}.
|
* RFC 6750, specifically {@code error}, {@code error_description}, {@code error_uri}, and {@code scope}.
|
||||||
*
|
*
|
||||||
* @param request that resulted in an <code>AuthenticationException</code>
|
* @param request that resulted in an <code>AuthenticationException</code>
|
||||||
* @param response so that the user agent can begin authentication
|
* @param response so that the user agent can begin authentication
|
||||||
|
@ -49,7 +49,7 @@ public final class BearerTokenAccessDeniedHandler implements AccessDeniedHandler
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Collect error details from the provided parameters and format according to
|
* Collect error details from the provided parameters and format according to
|
||||||
* RFC 6750, specifically {@code error}, {@code error_description}, {@code error_uri}, and {@scope scope}.
|
* RFC 6750, specifically {@code error}, {@code error_description}, {@code error_uri}, and {@code scope}.
|
||||||
*
|
*
|
||||||
* @param request that resulted in an <code>AccessDeniedException</code>
|
* @param request that resulted in an <code>AccessDeniedException</code>
|
||||||
* @param response so that the user agent can be advised of the failure
|
* @param response so that the user agent can be advised of the failure
|
||||||
|
@ -238,7 +238,7 @@ public final class HstsHeaderWriter implements HeaderWriter {
|
|||||||
*
|
*
|
||||||
* @param preload true to include preload, else false
|
* @param preload true to include preload, else false
|
||||||
* @since 5.2.0
|
* @since 5.2.0
|
||||||
* @autor Ankur Pathak
|
* @author Ankur Pathak
|
||||||
*/
|
*/
|
||||||
public void setPreload(boolean preload) {
|
public void setPreload(boolean preload) {
|
||||||
this.preload = preload;
|
this.preload = preload;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user