diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index afcf5d7fd6..aa10d2eded 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -1400,7 +1400,8 @@ user detail store) it might be worth extracting the `GlobalAuthenticationConfigurerAdapter` (in the `init()` method so it happens before the authentication manager is needed elsewhere), e.g. -``` +[source,java,indent=0,subs="verbatim,quotes,attributes"] +---- @Configuration public class AuthenticationManagerConfiguration extends GlobalAuthenticationConfigurerAdapter { @@ -1409,7 +1410,7 @@ public class AuthenticationManagerConfiguration extends auth.inMemoryAuthentication() // ... etc. } } -``` +---- [[howto-enable-https]]