return this.authenticator;
}
private Authorizer getAuthorizer() {
if (this.authorizer == null) {
AuthorizerBootstrap bootstrap = Beans.getReference(AuthorizerBootstrap.class);
Class<? extends Authorizer> clazz = getConfig().getAuthorizerClass();
if (clazz == null) {
clazz = StrategySelector.getClass(Authorizer.class, bootstrap.getCache());
}
this.authorizer = Beans.getReference(clazz);
}