Skip to content

Commit

Permalink
Fix error in auth docs rename handlers -> filters
Browse files Browse the repository at this point in the history
  • Loading branch information
jplock committed Oct 28, 2015
1 parent cae8572 commit bedc6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/manual/auth.rst
Expand Up @@ -162,7 +162,7 @@ The ``ChainedAuthFilter`` enables usage of various authentication factories at t
.buildAuthFilter();
List<AuthFilter> filters = Lists.newArrayList(basicCredentialAuthFilter, oauthCredentialAuthFilter);
environment.jersey().register(new AuthDynamicFeature(new ChainedAuthFilter(handlers)));
environment.jersey().register(new AuthDynamicFeature(new ChainedAuthFilter(filters)));
environment.jersey().register(RolesAllowedDynamicFeature.class);
//If you want to use @Auth to inject a custom Principal type into your resource
environment.jersey().register(new AuthValueFactoryProvider.Binder<>(User.class));
Expand Down

0 comments on commit bedc6f8

Please sign in to comment.