interledger4j / ilpv4-connector

An ILPv4 Connector implemented in Java
https://java-connector.ilpv4.dev
Apache License 2.0
19 stars 10 forks source link

Add ability to disable admin API #88

Open sappenin opened 5 years ago

sappenin commented 5 years ago

We should have a conditional on the Admin API controllers such that if something like ilpv4.connector.admin_api is not set to true, then the Admin API is not enabled.

sappenin commented 5 years ago

Make sure to disable whatever auth protects this endpoint when admin api is disabled. See SecurityConfiguration.configure