CAS implementation to Oracle APEX

五迷三道 提交于 2021-01-29 09:58:03

问题


I'm trying to implement CAS into APEX application. I have some instruction how to implement it into typical java webapp. I know what to add into the web.xml with all configuration, and this is the easy part. I need to add some dependecies to pom.xml. How i can find it and is this possible to add some dependencies to apex application?

Apex 19.1 is running on tomcat 9 on linux server.


回答1:


I need to add some dependecies to pom.xml. How i can find it and is this possible to add some dependencies to apex application?

I don't suppose Oracle APEX has a pom.xml file. So your options are:

  1. Add the required dependencies into the tomcat's lib directory with the rest of the libraries. This will make them available to all applications deployed in tomcat, including APEX.

  2. Add the required dependencies into the APEX under tomcat, which should be at $TOMCAT_HOME/webapps/<APEX>/WEB-INF/lib.

I am attaching a screenshot of the dependencies you might need to include in the lib directory. (cas-client-support-saml-xyz is optional). All dependencies can be found on Maven central: https://search.maven.org/search?q=g:org.jasig.cas.client

You also need to make sure APEX is able to recogize the authentication user from the #request.getRemoteUser() or the REMOTE_USER header. Otherwise, you'll need to add custom code to APEX or other type of configuration to allow for authn to succeed.



来源:https://stackoverflow.com/questions/58752481/cas-implementation-to-oracle-apex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!