Browse Source

docs, change name of class in multiple httpSecurity

pull/7229/head
kostya05983 6 years ago committed by Rob Winch
parent
commit
646f257e01
  1. 2
      docs/manual/src/docs/asciidoc/_includes/servlet/preface/java-configuration.adoc

2
docs/manual/src/docs/asciidoc/_includes/servlet/preface/java-configuration.adoc

@ -1081,7 +1081,7 @@ public BCryptPasswordEncoder passwordEncoder() { @@ -1081,7 +1081,7 @@ public BCryptPasswordEncoder passwordEncoder() {
== Multiple HttpSecurity
We can configure multiple HttpSecurity instances just as we can have multiple `<http>` blocks.
The key is to extend the `WebSecurityConfigurationAdapter` multiple times.
The key is to extend the `WebSecurityConfigurerAdapter` multiple times.
For example, the following is an example of having a different configuration for URL's that start with `/api/`.
[source,java]

Loading…
Cancel
Save