Include ipAuth in SP's authentication sequence.
[mkws-moved-to-github.git] / tools / service-proxy / service-proxy.properties
index 9e3659a..1c67a04 100644 (file)
@@ -24,6 +24,8 @@ relay.CF_ENGINE_ADDRESS = localhost:9003
 # authn plugin, for torus based authentication 
 authn.TORUS_URL        = http://mkc-admin.indexdata.com/torus2/identity.USERS/records/
 authn.MASTER_TORUS_URL = http://mkc-admin.indexdata.com/torus2/admin.admin/records/
+authn.ACTION_SEQUENCE = check,login,referrer,constraint,ipauth
+authn.SPECIFIC_CONSTRAINT = hostName=${thisHost} 
 
 # categories plugin, for Torus-based target categories
 categories.TORUS_BASEURL            = http://mkc-admin.indexdata.com/torus2/
@@ -38,8 +40,10 @@ ils.CFWS_URL = http://localhost:9003/connector
 chains.auth = authn
 chains.categories = categories
 chains.ils = ils
-chains.*      = relay # Map all other commands to the Pazpar2 relayer
+# Map all other commands to the Pazpar2 relayer
+chains.* = relay
 
 
 # Just so I can check that this particular SP config is in use
 chains.mike = info
+plugins.info = com.indexdata.serviceproxy.plugins.InfoPlugin