Source:
<code>protected void configure() { bind(MachineSessionInvalidator.class).asEagerSingleton(); bind(MachineTokenProvider.class).to(MachineTokenProviderImpl.class); bind(MachineTokenAccessFilter.class); bind(SignatureKeyManager.class); bind(SignatureKeyDao.class).to(JpaSignatureKeyDao.class); bind(JpaSignatureKeyDao.RemoveKeyPairsBeforeWorkspaceRemovedEventSubscriber.class) .asEagerSingleton(); final Multibinder<EnvVarProvider> envVarProviders = Multibinder.newSetBinder(binder(), EnvVarProvider.class); envVarProviders.addBinding().to(SignaturePublicKeyEnvProvider.class); envVarProviders.addBinding().to(SignatureAlgorithmEnvProvider.class); final Multibinder<MachineAuthenticatedResource> machineAuthenticatedResources = Multibinder.newSetBinder(binder(), MachineAuthenticatedResource.class); machineAuthenticatedResources .addBinding() .toInstance( new MachineAuthenticatedResource( "/workspace", "getByKey", "addProject", "updateProject", "deleteProject", "getSettings", "update", "stop")); machineAuthenticatedResources .addBinding() .toInstance( new MachineAuthenticatedResource( "/ssh", "getPair", "generatePair", "createPair", "getPairs", "removePair")); machineAuthenticatedResources .addBinding() .toInstance( new MachineAuthenticatedResource( "/factory", "getFactoryJson", "getFactory", "getFactoryByAttribute", "resolveFactory")); machineAuthenticatedResources .addBinding() .toInstance( new MachineAuthenticatedResource( "/preferences", "find", "save", "update", "removePreferences")); machineAuthenticatedResources .addBinding() .toInstance(new MachineAuthenticatedResource("/activity", "active")); machineAuthenticatedResources .addBinding() <START> .toInstance(new MachineAuthenticatedResource("oauth", "token")); <END> machineAuthenticatedResources .addBinding() .toInstance(new MachineAuthenticatedResource("project-template", "getProjectTemplates")); machineAuthenticatedResources .addBinding() .toInstance(new MachineAuthenticatedResource("/installer", "getInstallers")); bindConstant().annotatedWith(Names.named("che.auth.signature_key_size")).to(2048); bindConstant().annotatedWith(Names.named("che.auth.signature_key_algorithm")).to("RSA"); }</code><technical_language>toInstance(new MachineAuthenticatedResource("oauth", "token")); this line removed too</technical_language>

Target:
protected void configure() { bind(MachineSessionInvalidator.class).asEagerSingleton(); bind(MachineTokenProvider.class).to(MachineTokenProviderImpl.class); bind(MachineTokenAccessFilter.class); bind(SignatureKeyManager.class); bind(SignatureKeyDao.class).to(JpaSignatureKeyDao.class); bind(JpaSignatureKeyDao.RemoveKeyPairsBeforeWorkspaceRemovedEventSubscriber.class) .asEagerSingleton(); final Multibinder<EnvVarProvider> envVarProviders = Multibinder.newSetBinder(binder(), EnvVarProvider.class); envVarProviders.addBinding().to(SignaturePublicKeyEnvProvider.class); envVarProviders.addBinding().to(SignatureAlgorithmEnvProvider.class); final Multibinder<MachineAuthenticatedResource> machineAuthenticatedResources = Multibinder.newSetBinder(binder(), MachineAuthenticatedResource.class); machineAuthenticatedResources .addBinding() .toInstance( new MachineAuthenticatedResource( "/workspace", "getByKey", "addProject", "updateProject", "deleteProject", "getSettings", "update", "stop")); machineAuthenticatedResources .addBinding() .toInstance( new MachineAuthenticatedResource( "/ssh", "getPair", "generatePair", "createPair", "getPairs", "removePair")); machineAuthenticatedResources .addBinding() .toInstance( new MachineAuthenticatedResource( "/factory", "getFactoryJson", "getFactory", "getFactoryByAttribute", "resolveFactory")); machineAuthenticatedResources .addBinding() .toInstance( new MachineAuthenticatedResource( "/preferences", "find", "save", "update", "removePreferences")); machineAuthenticatedResources .addBinding() .toInstance(new MachineAuthenticatedResource("/activity", "active")); machineAuthenticatedResources .addBinding() .toInstance(new MachineAuthenticatedResource("project-template", "getProjectTemplates")); machineAuthenticatedResources .addBinding() .toInstance(new MachineAuthenticatedResource("/installer", "getInstallers")); bindConstant().annotatedWith(Names.named("che.auth.signature_key_size")).to(2048); bindConstant().annotatedWith(Names.named("che.auth.signature_key_algorithm")).to("RSA"); }