Skip to content

Commit a545b6e

Browse files
committed
Polish "Polish"
See gh-28367
1 parent 1586232 commit a545b6e

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@
5151
* already contained in the {@link BeanFactory}.
5252
* <p>
5353
* The condition can only match the bean definitions that have been processed by the
54-
* application context so far and, as such, it is strongly recommended using this
54+
* application context so far and, as such, it is strongly recommended to use this
5555
* condition on auto-configuration classes only. If a candidate bean may be created by
5656
* another auto-configuration, make sure that the one using this condition runs after.
5757
*

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@
5151
* already contained in the {@link BeanFactory}.
5252
* <p>
5353
* The condition can only match the bean definitions that have been processed by the
54-
* application context so far and, as such, it is strongly recommended using this
54+
* application context so far and, as such, it is strongly recommended to use this
5555
* condition on auto-configuration classes only. If a candidate bean may be created by
5656
* another auto-configuration, make sure that the one using this condition runs after.
5757
*

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnSingleCandidate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@
3535
* condition match if auto-wiring a bean with the defined type will succeed.
3636
* <p>
3737
* The condition can only match the bean definitions that have been processed by the
38-
* application context so far and, as such, it is strongly recommended using this
38+
* application context so far and, as such, it is strongly recommended to use this
3939
* condition on auto-configuration classes only. If a candidate bean may be created by
4040
* another auto-configuration, make sure that the one using this condition runs after.
4141
*

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/saml2/Saml2LoginConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
import org.springframework.security.web.SecurityFilterChain;
2727

2828
/**
29-
* {@link WebSecurityConfigurerAdapter} configuration for Spring Security's relying on
30-
* party SAML support.
29+
* {@link WebSecurityConfigurerAdapter} configuration for Spring Security's relying party
30+
* SAML support.
3131
*
3232
* @author Madhura Bhave
3333
*/

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/saml2/Saml2RelyingPartyProperties.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import org.springframework.security.saml2.provider.service.registration.Saml2MessageBinding;
2828

2929
/**
30-
* SAML2 relying on party properties.
30+
* SAML2 relying party properties.
3131
*
3232
* @author Madhura Bhave
3333
* @author Phillip Webb
@@ -37,7 +37,7 @@
3737
public class Saml2RelyingPartyProperties {
3838

3939
/**
40-
* SAML2 relying on party registrations.
40+
* SAML2 relying party registrations.
4141
*/
4242
private final Map<String, Registration> registration = new LinkedHashMap<>();
4343

@@ -46,13 +46,13 @@ public Map<String, Registration> getRegistration() {
4646
}
4747

4848
/**
49-
* Represents a SAML Relying on Party.
49+
* Represents a SAML Relying Party.
5050
*/
5151
public static class Registration {
5252

5353
/**
54-
* Relying on party's entity ID. The value may contain a number of placeholders.
55-
* They are "baseUrl", "registrationId", "baseScheme", "baseHost", and "basePort".
54+
* Relying party's entity ID. The value may contain a number of placeholders. They
55+
* are "baseUrl", "registrationId", "baseScheme", "baseHost", and "basePort".
5656
*/
5757
private String entityId = "{baseUrl}/saml2/service-provider-metadata/{registrationId}";
5858

@@ -149,7 +149,7 @@ public static class Credential {
149149
private Resource privateKeyLocation;
150150

151151
/**
152-
* Relying on Party X509Certificate shared with the identity provider.
152+
* Relying Party X509Certificate shared with the identity provider.
153153
*/
154154
private Resource certificateLocation;
155155

@@ -198,7 +198,7 @@ public static class Credential {
198198
private Resource privateKeyLocation;
199199

200200
/**
201-
* Relying on Party X509Certificate shared with the identity provider.
201+
* Relying Party X509Certificate shared with the identity provider.
202202
*/
203203
private Resource certificateLocation;
204204

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/saml2/Saml2RelyingPartyRegistrationConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
/**
5151
* {@link Configuration @Configuration} used to map {@link Saml2RelyingPartyProperties} to
52-
* relying on party registrations in a {@link RelyingPartyRegistrationRepository}.
52+
* relying party registrations in a {@link RelyingPartyRegistrationRepository}.
5353
*
5454
* @author Madhura Bhave
5555
* @author Phillip Webb

0 commit comments

Comments
 (0)