4848import org .apache .cloudstack .api .command .admin .user .UpdateUserCmd ;
4949import org .apache .commons .codec .binary .Base64 ;
5050import org .apache .log4j .Logger ;
51- import org .springframework .stereotype .Component ;
5251
5352import com .cloud .api .ApiDBUtils ;
5453import com .cloud .api .query .dao .UserAccountJoinDao ;
140139import com .cloud .vm .dao .UserVmDao ;
141140import com .cloud .vm .dao .VMInstanceDao ;
142141
143- @ Component
144142@ Local (value = { AccountManager .class , AccountService .class })
145143public class AccountManagerImpl extends ManagerBase implements AccountManager , Manager {
146144 public static final Logger s_logger = Logger .getLogger (AccountManagerImpl .class );
@@ -223,7 +221,6 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager, M
223221 private AutoScaleManager _autoscaleMgr ;
224222 @ Inject VolumeManager volumeMgr ;
225223
226- @ Inject
227224 private List <UserAuthenticator > _userAuthenticators ;
228225
229226 private final ScheduledExecutorService _executor = Executors .newScheduledThreadPool (1 , new NamedThreadFactory ("AccountChecker" ));
@@ -237,6 +234,14 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager, M
237234 List <SecurityChecker > _securityCheckers ;
238235 int _cleanupInterval ;
239236
237+ public List <UserAuthenticator > getUserAuthenticators () {
238+ return _userAuthenticators ;
239+ }
240+
241+ public void setUserAuthenticators (List <UserAuthenticator > authenticators ) {
242+ _userAuthenticators = authenticators ;
243+ }
244+
240245 @ Override
241246 public boolean configure (final String name , final Map <String , Object > params ) throws ConfigurationException {
242247 _systemAccount = _accountDao .findById (AccountVO .ACCOUNT_ID_SYSTEM );
0 commit comments