Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/spring-security-config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ apply plugin: 'io.spring.convention.spring-module'
apply plugin: 'trang'
apply plugin: 'security-kotlin'
apply plugin: 'test-compile-target-jdk25'
apply plugin: 'javadoc-warnings-error'

configurations {
opensaml5 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,7 @@ public HttpSecurity addFilterAt(Filter filter, Class<? extends Filter> atFilter)
*
* <p>
* Invoking {@link #securityMatchers(Customizer)} will not override previous
* invocations of {@link #securityMatchers()}, {@link #securityMatchers(Customizer)}
* invocations of {@link #securityMatchers(Customizer)}
* {@link #securityMatcher(String...)} and {@link #securityMatcher(RequestMatcher)}
* </p>
*
Expand Down Expand Up @@ -2004,8 +2004,7 @@ public HttpSecurity securityMatchers(Customizer<RequestMatcherConfigurer> reques
* <p>
* Invoking {@link #securityMatcher(RequestMatcher)} will override previous
* invocations of {@link #securityMatcher(RequestMatcher)},
* {@link #securityMatcher(String...)}, {@link #securityMatchers(Customizer)} and
* {@link #securityMatchers()}
* {@link #securityMatcher(String...)} and {@link #securityMatchers(Customizer)}
* </p>
* @param requestMatcher the {@link RequestMatcher} to use, for example,
* {@code PathPatternRequestMatcher.pathPattern(HttpMethod.GET, "/admin/**")}
Expand All @@ -2024,9 +2023,8 @@ public HttpSecurity securityMatcher(RequestMatcher requestMatcher) {
*
* <p>
* Invoking {@link #securityMatcher(String...)} will override previous invocations of
* {@link #securityMatcher(String...)} (String)}},
* {@link #securityMatcher(RequestMatcher)} ()}, {@link #securityMatchers(Customizer)}
* (String)} and {@link #securityMatchers()} (String)}.
* {@link #securityMatcher(String...)}, {@link #securityMatcher(RequestMatcher)} and
* {@link #securityMatchers(Customizer)}.
* </p>
* @param patterns the pattern to match on (i.e. "/admin/**")
* @return the {@link HttpSecurity} for further customizations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public WebSecurity debug(boolean debugEnabled) {
*
* <p>
* Typically this method is invoked automatically within the framework from
* {@link WebSecurityConfiguration#springSecurityFilterChain()}
* {@link WebSecurityConfiguration#springSecurityFilterChain(ObjectProvider)}
* </p>
* @param securityFilterChainBuilder the builder to use to create the
* {@link SecurityFilterChain} instances
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
* The following configuration options are available:
*
* <ul>
* <li>{@link #authorizationCodeGrant()} - support for the OAuth 2.0 Authorization Code
* Grant</li>
* <li>{@link #authorizationCodeGrant(Customizer)} - support for the OAuth 2.0
* Authorization Code Grant</li>
* </ul>
*
* <p>
Expand All @@ -59,7 +59,8 @@
*
* <h2>Security Filters</h2>
*
* The following {@code Filter}'s are populated for {@link #authorizationCodeGrant()}:
* The following {@code Filter}'s are populated for
* {@link #authorizationCodeGrant(Customizer)}:
*
* <ul>
* <li>{@link OAuth2AuthorizationRequestRedirectFilter}</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.opensaml.core.Version;

import org.springframework.context.ApplicationContext;
import org.springframework.security.config.Customizer;
import org.springframework.security.config.annotation.web.HttpSecurityBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
Expand All @@ -42,7 +43,8 @@
*
* <p>
* Defaults are provided for all configuration options with the only required
* configuration being a {@link Saml2LoginConfigurer#relyingPartyRegistrationRepository}.
* configuration being a
* {@link Saml2LoginConfigurer#relyingPartyRegistrationRepository(HttpSecurityBuilder)}.
* Alternatively, a {@link RelyingPartyRegistrationRepository} {@code @Bean} may be
* registered instead.
*
Expand All @@ -67,7 +69,7 @@
* </ul>
*
* @since 6.1
* @see HttpSecurity#saml2Metadata()
* @see HttpSecurity#saml2Metadata(Customizer)
* @see Saml2MetadataFilter
* @see RelyingPartyRegistrationRepository
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,7 @@ private ServerAuthenticationFailureHandler authenticationFailureHandler() {
*
* @author Evgeniy Cheban
* @since 5.6
* @see #passwordManagement()
* @see #passwordManagement(Customizer)
*/
public final class PasswordManagementSpec {

Expand Down Expand Up @@ -2663,7 +2663,7 @@ public HeaderSpec crossOriginResourcePolicy(
/**
* Configures cache control headers
*
* @see #cache()
* @see HeaderSpec#cache(Customizer)
*/
public final class CacheSpec {

Expand All @@ -2684,7 +2684,7 @@ public HeaderSpec disable() {
/**
* The content type headers
*
* @see #contentTypeOptions()
* @see HeaderSpec#contentTypeOptions(Customizer)
*/
public final class ContentTypeOptionsSpec {

Expand All @@ -2705,7 +2705,7 @@ public HeaderSpec disable() {
/**
* Configures frame options response header
*
* @see #frameOptions()
* @see HeaderSpec#frameOptions(Customizer)
*/
public final class FrameOptionsSpec {

Expand Down Expand Up @@ -2737,7 +2737,7 @@ public HeaderSpec disable() {
/**
* Configures Strict Transport Security response header
*
* @see #hsts()
* @see HeaderSpec#hsts(Customizer)
*/
public final class HstsSpec {

Expand Down Expand Up @@ -2796,7 +2796,7 @@ public HeaderSpec disable() {
/**
* Configures x-xss-protection response header
*
* @see #xssProtection()
* @see HeaderSpec#xssProtection(Customizer)
*/
public final class XssProtectionSpec {

Expand Down Expand Up @@ -2830,7 +2830,7 @@ public HeaderSpec headerValue(XXssProtectionServerHttpHeadersWriter.HeaderValue
* Configures {@code Content-Security-Policy} response header.
*
* @since 5.1
* @see #contentSecurityPolicy(String)
* @see HeaderSpec#contentSecurityPolicy(Customizer)
*/
public final class ContentSecurityPolicySpec {

Expand Down Expand Up @@ -2884,8 +2884,7 @@ private FeaturePolicySpec(String policyDirectives) {
* Allows method chaining to continue configuring the
* {@link ServerHttpSecurity}.
* @return the {@link HeaderSpec} to continue configuring
* @deprecated For removal in 7.0. Use {@link #featurePolicy(Customizer)}
* instead
* @deprecated For removal in 7.0. Use {@link #featurePolicy(String)} instead
*/
@Deprecated(since = "6.1", forRemoval = true)
public HeaderSpec and() {
Expand All @@ -2898,7 +2897,7 @@ public HeaderSpec and() {
* Configures {@code Permissions-Policy} response header.
*
* @since 5.5
* @see #permissionsPolicy()
* @see HeaderSpec#permissionsPolicy(Customizer)
*/
public final class PermissionsPolicySpec {

Expand All @@ -2921,8 +2920,7 @@ public PermissionsPolicySpec policy(String policy) {
* Configures {@code Referrer-Policy} response header.
*
* @since 5.1
* @see #referrerPolicy()
* @see #referrerPolicy(ReferrerPolicy)
* @see HeaderSpec#referrerPolicy(Customizer)
*/
public final class ReferrerPolicySpec {

Expand Down
Loading