From: Anthony O. Date: Fri, 8 Aug 2014 08:47:05 +0000 (+0200) Subject: Update setup_authentication.mkd X-Git-Tag: v1.6.1~63^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bdcb8d6d8c858e71f21a274654a41d6d5ab799fc;p=gitblit.git Update setup_authentication.mkd In AuthenticationManager:385, only `provider instanceof UsernamePasswordAuthenticationProvider` will be called --- diff --git a/src/site/setup_authentication.mkd b/src/site/setup_authentication.mkd index 02d1be70..87b67497 100644 --- a/src/site/setup_authentication.mkd +++ b/src/site/setup_authentication.mkd @@ -119,7 +119,7 @@ If you are using the WAR variant and deploying into your own servlet container w This is the simplest choice where you implement custom authentication and delegate all other standard user and team operations to one of Gitblit's user service implementations. This choice insulates your customization from changes in User and Team model classes and additional API that may be added to IUserService. -Please subclass [com.gitblit.auth.AuthenticationProvider](https://github.com/gitblit/gitblit/blob/master/src/main/java/com/gitblit/auth/AuthenticationProvider.java). +Please subclass [com.gitblit.auth.AuthenticationProvider.UsernamePasswordAuthenticationProvider](https://github.com/gitblit/gitblit/blob/master/src/main/java/com/gitblit/auth/AuthenticationProvider.java). You may use your subclass by specifying its fully qualified classname in the *realm.authenticationProviders* setting.