private Authorizer authorizer;
private Authenticator getAuthenticator() {
if (this.authenticator == null) {
AuthenticatorBootstrap bootstrap = Beans.getReference(AuthenticatorBootstrap.class);
Class<? extends Authenticator> clazz = getConfig().getAuthenticatorClass();
if (clazz == null) {
clazz = StrategySelector.getClass(Authenticator.class, bootstrap.getCache());
}
this.authenticator = Beans.getReference(clazz);
}