CAS实施到Oracle APEX [英] CAS implementation to Oracle APEX

查看:114
本文介绍了CAS实施到Oracle APEX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将CAS实施到APEX应用程序中.我有一些说明如何将其实现到典型的Java webapp中.我知道在所有配置下要添加到web.xml中的内容,这是简单的部分.我需要向pom.xml添加一些依赖项.我如何找到它,是否有可能向apex应用程序添加一些依赖项?

Apex 19.1在Linux服务器上的tomcat 9上运行.

解决方案

我需要向pom.xml添加一些依赖项.我如何找到它,是否有可能向apex应用程序添加一些依赖项?

我不认为Oracle APEX具有 pom.xml 文件.因此,您的选择是:

  1. 将所需的依赖项与其余库一起添加到tomcat的 lib 目录中.这将使它们可用于部署在tomcat中的所有应用程序,包括APEX.

  2. 在tomcat下的APEX中添加所需的依赖项,该依赖项应位于 $ TOMCAT_HOME/webapps/< APEX>/WEB-INF/lib .

我附上了可能需要包含在lib目录中的依赖关系的屏幕快照.(cas-client-support-saml-xyz是可选的).可以在Maven Central上找到所有依赖项:

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.

解决方案

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.

这篇关于CAS实施到Oracle APEX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆