diff options
author | James Moger <james.moger@gitblit.com> | 2014-02-19 09:57:44 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-02-19 11:05:48 -0500 |
commit | 6659fa5151ebd5fb744b7b07f929e580ce6f5843 (patch) | |
tree | ace639938a62bf702045ed55ab6681fe52a15a63 /src/main/java/com/gitblit/manager/AuthenticationManager.java | |
parent | 03c0191b65c68dc6be3da0e0056bcb3cbc6e9cef (diff) | |
download | gitblit-6659fa5151ebd5fb744b7b07f929e580ce6f5843.tar.gz gitblit-6659fa5151ebd5fb744b7b07f929e580ce6f5843.zip |
API adjustments and elimination of duplicate config options
Diffstat (limited to 'src/main/java/com/gitblit/manager/AuthenticationManager.java')
-rw-r--r-- | src/main/java/com/gitblit/manager/AuthenticationManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/AuthenticationManager.java b/src/main/java/com/gitblit/manager/AuthenticationManager.java index cd4a258f..48975142 100644 --- a/src/main/java/com/gitblit/manager/AuthenticationManager.java +++ b/src/main/java/com/gitblit/manager/AuthenticationManager.java @@ -150,6 +150,13 @@ public class AuthenticationManager implements IAuthenticationManager { @Override public AuthenticationManager stop() { + for (AuthenticationProvider provider : authenticationProviders) { + try { + provider.stop(); + } catch (Exception e) { + logger.error("Failed to stop " + provider.getClass().getSimpleName(), e); + } + } return this; } |