【问题标题】:Cyber Ark Spring configuration (With Mule ESB)Cyber​​ Ark Spring 配置(带 Mule ESB)
【发布时间】:2011-10-09 15:50:50
【问题描述】:

我正在尝试将 Cyber​​ Ark(安全管理)与 Spring 集成,我们使用 Mule 作为我们的 ESB

<jms:connector 
                        name="jmsConnector"
                        jndiProviderUrl="${tibjmsURL}"
                        connectionFactoryJndiName="${tibjmsConnFactory}"
                        username="${tibjndiUser}" 
                        jndiInitialFactory="${tibjndiInitialFactoryClassName}"                                         
                        specification="1.1"
                        createMultipleTransactedReceivers="true"
                        numberOfConcurrentTransactedReceivers="1"
           >

           <spring:property name="password">
                <ref bean="idsJmsPassword"/>
           </spring:property>

我正试图从赛博方舟中获取我的密码,并将其作为 spring bean 注入。以前有人这样做过吗?如何将密码注入 JMS 连接器(代码中显示标记)?目前它从属性文件加载它。

【问题讨论】:

    标签: spring jms mule cyber-ark


    【解决方案1】:

    我已经使用 Mule 3.1.2 测试了您的上述配置,前提是您将 ref 元素修复为位于 Spring 命名空间中:

    <spring:ref bean="idsJmsPassword"/>
    

    并提供 idsJmsPassword 实际上是一个字符串,我确认 setPassword()org.mule.transport.jms.JmsConnector 上被调用idsJmsPassword的值。

    这应该可以让你实现你的目标。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-03-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-09
      • 1970-01-01
      相关资源
      最近更新 更多