Fix typos (#228)
This commit is contained in:
+5
-5
@@ -51,7 +51,7 @@ public class AuthenticationConfiguration {
|
||||
|
||||
private boolean authenticationManagerInitialized;
|
||||
|
||||
private List<GlobalAuthenticationConfigurerAdapter> globalAuthConfigures = Collections
|
||||
private List<GlobalAuthenticationConfigurerAdapter> globalAuthConfigurers = Collections
|
||||
.emptyList();
|
||||
|
||||
private ObjectPostProcessor<Object> objectPostProcessor;
|
||||
@@ -84,14 +84,14 @@ public class AuthenticationConfiguration {
|
||||
}
|
||||
|
||||
AuthenticationManagerBuilder authBuilder = authenticationManagerBuilder(objectPostProcessor);
|
||||
for (GlobalAuthenticationConfigurerAdapter config : globalAuthConfigures) {
|
||||
for (GlobalAuthenticationConfigurerAdapter config : globalAuthConfigurers) {
|
||||
authBuilder.apply(config);
|
||||
}
|
||||
|
||||
authenticationManager = authBuilder.build();
|
||||
|
||||
if (authenticationManager == null) {
|
||||
authenticationManager = getAuthenticationMangerBean();
|
||||
authenticationManager = getAuthenticationManagerBean();
|
||||
}
|
||||
|
||||
this.authenticationManagerInitialized = true;
|
||||
@@ -102,7 +102,7 @@ public class AuthenticationConfiguration {
|
||||
public void setGlobalAuthenticationConfigurers(
|
||||
List<GlobalAuthenticationConfigurerAdapter> configurers) throws Exception {
|
||||
Collections.sort(configurers, AnnotationAwareOrderComparator.INSTANCE);
|
||||
this.globalAuthConfigures = configurers;
|
||||
this.globalAuthConfigurers = configurers;
|
||||
}
|
||||
|
||||
@Autowired
|
||||
@@ -134,7 +134,7 @@ public class AuthenticationConfiguration {
|
||||
return (T) proxyFactory.getObject();
|
||||
}
|
||||
|
||||
private AuthenticationManager getAuthenticationMangerBean() {
|
||||
private AuthenticationManager getAuthenticationManagerBean() {
|
||||
return lazyBean(AuthenticationManager.class);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import org.springframework.core.type.AnnotationMetadata;
|
||||
import org.springframework.util.ClassUtils;
|
||||
|
||||
/**
|
||||
* Used by {@link EnableWebSecurity} to conditionaly import
|
||||
* Used by {@link EnableWebSecurity} to conditionally import
|
||||
* {@link WebMvcSecurityConfiguration} when the DispatcherServlet is present on the
|
||||
* classpath.
|
||||
*
|
||||
|
||||
+1
-1
@@ -1203,7 +1203,7 @@
|
||||
</xs:attribute>
|
||||
<xs:attribute name="erase-credentials" type="security:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>If set to true, the AuthenticationManger will attempt to clear any credentials data in the returned Authentication object, once the user has been authenticated. Defaults to false.</xs:documentation>
|
||||
<xs:documentation>If set to true, the AuthenticationManager will attempt to clear any credentials data in the returned Authentication object, once the user has been authenticated. Defaults to false.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:attributeGroup>
|
||||
|
||||
+1
-1
@@ -657,7 +657,7 @@ authman.attlist &=
|
||||
## An alias you wish to use for the AuthenticationManager bean (not required it you are using a specific id)
|
||||
attribute alias {xsd:token}?
|
||||
authman.attlist &=
|
||||
## If set to true, the AuthenticationManger will attempt to clear any credentials data in the returned Authentication object, once the user has been authenticated.
|
||||
## If set to true, the AuthenticationManager will attempt to clear any credentials data in the returned Authentication object, once the user has been authenticated.
|
||||
attribute erase-credentials {xsd:boolean}?
|
||||
|
||||
authentication-provider =
|
||||
|
||||
+1
-1
@@ -2067,7 +2067,7 @@
|
||||
</xs:attribute>
|
||||
<xs:attribute name="erase-credentials" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>If set to true, the AuthenticationManger will attempt to clear any credentials data in the
|
||||
<xs:documentation>If set to true, the AuthenticationManager will attempt to clear any credentials data in the
|
||||
returned Authentication object, once the user has been authenticated.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
+1
-1
@@ -659,7 +659,7 @@ authman.attlist &=
|
||||
## An alias you wish to use for the AuthenticationManager bean (not required it you are using a specific id)
|
||||
attribute alias {xsd:token}?
|
||||
authman.attlist &=
|
||||
## If set to true, the AuthenticationManger will attempt to clear any credentials data in the returned Authentication object, once the user has been authenticated.
|
||||
## If set to true, the AuthenticationManager will attempt to clear any credentials data in the returned Authentication object, once the user has been authenticated.
|
||||
attribute erase-credentials {xsd:boolean}?
|
||||
|
||||
authentication-provider =
|
||||
|
||||
+1
-1
@@ -2083,7 +2083,7 @@
|
||||
</xs:attribute>
|
||||
<xs:attribute name="erase-credentials" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>If set to true, the AuthenticationManger will attempt to clear any credentials data in the
|
||||
<xs:documentation>If set to true, the AuthenticationManager will attempt to clear any credentials data in the
|
||||
returned Authentication object, once the user has been authenticated.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
+1
-1
@@ -668,7 +668,7 @@ authman.attlist &=
|
||||
## An alias you wish to use for the AuthenticationManager bean (not required it you are using a specific id)
|
||||
attribute alias {xsd:token}?
|
||||
authman.attlist &=
|
||||
## If set to true, the AuthenticationManger will attempt to clear any credentials data in the returned Authentication object, once the user has been authenticated.
|
||||
## If set to true, the AuthenticationManager will attempt to clear any credentials data in the returned Authentication object, once the user has been authenticated.
|
||||
attribute erase-credentials {xsd:boolean}?
|
||||
|
||||
authentication-provider =
|
||||
|
||||
+1
-1
@@ -2114,7 +2114,7 @@
|
||||
</xs:attribute>
|
||||
<xs:attribute name="erase-credentials" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>If set to true, the AuthenticationManger will attempt to clear any credentials data in the
|
||||
<xs:documentation>If set to true, the AuthenticationManager will attempt to clear any credentials data in the
|
||||
returned Authentication object, once the user has been authenticated.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
Reference in New Issue
Block a user