CAS实施到Oracle APEX

编程入门 行业动态 更新时间:2024-10-18 12:34:03
本文介绍了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 文件.因此,您的选择是:

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

  • 在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:

  • 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: search.maven/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

    本文发布于:2023-06-06 01:32:38,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/531113.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:CAS   Oracle   APEX

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!