Skip to content

Commit 17a3cb3

Browse files
author
Dave Syer
committed
Fix typo in annotation names
1 parent 824f418 commit 17a3cb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manual/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ with the lower level annotation:
2626
[source,java]
2727
----
2828
@SpringBootApplication
29-
@EnableOAuthClient
29+
@EnableOAuth2Client
3030
@RestController
3131
public class SocialApplication extends WebSecurityConfigurerAdapter {
3232
...
@@ -42,7 +42,7 @@ configuration:
4242
[source,java]
4343
----
4444
@SpringBootApplication
45-
@EnableOAuthClient
45+
@EnableOAuth2Client
4646
@RestController
4747
public class SocialApplication extends WebSecurityConfigurerAdapter {
4848
@@ -128,7 +128,7 @@ facebook:
128128
The last change we need to make is to explicitly support the redirects
129129
from our app to Facebook. This is handled in Spring OAuth2 with a
130130
servlet `Filter`, and the filter is already available in the
131-
application context because we used `@EnableOAuthClient`. ALl that is
131+
application context because we used `@EnableOAuth2Client`. ALl that is
132132
needed is to wire the filter up so that it gets called in the right
133133
order in our Spring Boot application. To do that we need a
134134
`FilterRegistrationBean`:

0 commit comments

Comments
 (0)