APM in combination with SAML error

0
Hi guys 'n gals,   We're trying to import and configure the APM tooling into our application. The import went well, however, when starting our application we suddenly get an error in our SAML implementation about a security exception:   Feb 7 09:36:08.785 127.0.0.1 tr10000: ERROR - SAML_SSO: Unable to initialize the Servlet configuration Feb 7 09:36:08.796 127.0.0.1 tr10000: ERROR - SAML_SSO: (1/186) org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration. Followed by Feb 7 09:36:08.813 127.0.0.1 tr10000: ERROR - SAML_SSO: (117/186) Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "velocity.log" "write") This causes the SAML module to not initialize, so we can't use our Single Sign On Any tips?
asked
3 answers
4

add to your policy file (C:\Program Files\Mendix\6.x.x\modeler\runtemplates\deployment\data) and also in the cloud with a Mendix ticket:

("java.io.FilePermission" "velocity.log" "write")
answered
0

Hi Paul,

You would need to file a support ticket for Mendix to add this to the allow list of the Security Manager. We have done the same for the External Database connector.

By the way, in the new CloudV4, the security manager is not in place anymore, see: https://docs.mendix.com/mendixcloud/migrating-to-v4#is-the-java-security-manager-still-in-place

answered
0

Thanks guys,

We submitted a support ticket!

answered