/** * Creates a new HTTP authorization {@link Service} decorator using the specified * {@link Authorizer}s. * * @param authorizers a list of {@link Authorizer}s. */ public static Function<Service<HttpRequest, HttpResponse>, HttpAuthService> newDecorator( Iterable<? extends Authorizer<HttpRequest>> authorizers) { return new HttpAuthServiceBuilder().add(authorizers).newDecorator(); }
.orElse(new SessionTokenAuthorizer(sessionManager, authCfg.administrators()))) .newDecorator()); } else { decorator = MetadataServiceInjector
.orElse(new SessionTokenAuthorizer(sessionManager, authCfg.administrators()))) .newDecorator()); } else { decorator = MetadataServiceInjector