Browse code

BM-13081 Chore: clean code

Anthony Prades authored on 13/04/2018 10:06:46
Showing 1 changed files
... ...
@@ -79,7 +79,6 @@ public class Authentication implements IAuthentication, IInCoreAuthentication {
79 79
 	private final List<IAuthProvider> authProviders;
80 80
 	private final List<ILoginValidationListener> loginListeners;
81 81
 	private final List<ILoginSessionValidator> sessionValidators;
82
-	private IDomains domains;
83 82
 
84 83
 	private BmContext context;
85 84
 
... ...
@@ -91,7 +90,6 @@ public class Authentication implements IAuthentication, IInCoreAuthentication {
91 91
 		this.authProviders = authProviders;
92 92
 		this.loginListeners = loginListeners;
93 93
 		this.sessionValidators = sessionValidators;
94
-		domains = context.su().provider().instance(IDomains.class);
95 94
 	}
96 95
 
97 96
 	private static class AuthContext implements IAuthContext {