Closed chrisacbr closed 5 years ago
When you have an index with an external IDP server, you don't need the security configuration on the index. Also, your change doesn't make it also install on INDEX type; it mandates that the INDEX type be on.
I found they were needed because ORP is deployed by the installer on the index node and it requires those files; for example:
[INFO] esg.security.registry.service.impl.ReloadableFileSet: Using file:/esg/config/esgf_policies_local.xml
[INFO] esg.security.registry.service.impl.ReloadableFileSet: Using file:/esg/config/esgf_policies_common.xml
[INFO] esg.security.registry.service.impl.ReloadableFileSet: Using file:/esg/config/esgf_ats.xml
[INFO] esg.security.registry.service.impl.ReloadableFileSet: Using file:/esg/config/esgf_ats_static.xml
Note that the test $((sel & IDP_BIT+DATA_BIT+INDEX_BIT)) != 0
is a bitwise mask; ie. any one of the bits in the mask will cause the test to pass, hence the index bit can be on but isn't required.
When installed as a standalone index node, the security XML configuration files are missing otherwise.