Hello,
I am working with CBioPortal 3.7.6, using Docker.
I am trying to set up SAML authentication.
(I realize that this particular combination - cbioportal using Docker, and SAML, is not documented so maybe it's not supported? I'm hoping it is though because Docker is recommended in the documentation and SAML is what will work best for me (not keycloak)).
Anyway, I am following along with the documentation here:
( am not using onelogin because I already have an identity provider).
I have created a keystore, and I have a CBioPortal.xml file that was provided by my IT department. Sounds like I need to place these on the classpath.
The documentation says to put these files in
portal/src/main/resources/
What directory is this relative to? In my cbioportal docker container there is no such directory.
There is a /cbioportal/core/src/main/resources directory, but when I place the files there
(by mounting that directory to an external directory that contains all the original contents
plus the two files), it seems that directory is not on the classpath because I get this error when
starting up:
on is java.lang.IllegalArgumentException: Could not retrieve file for class path resource [CBioPortal.xml]: class path resource [CBioPortal.xml] cannot be resolved to URL because it does not exist
This is the relevant entry in portal.properties:
saml.idp.metadata.location=classpath:/CBioPortal.xml
and I am starting up with this VM option:
-Dauthenticate=saml
How do I determine what the classpath is inside my CBioPortal container?
Thanks....