问题
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:
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.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