简体   繁体   English

IBM WESB/WAS JCA 安全配置

[英]IBM WESB/WAS JCA security configuration

I'm working with IBM tools.我正在使用 IBM 工具。 I have a Websphere ESB (WESB) and a CICS transaction gateway (CTG).我有一个 Websphere ESB (WESB) 和一个 CICS 事务网关 (CTG)。 The basic set-up is as follows:基本设置如下:

A SOAP service needs data from CICS. SOAP 服务需要来自 CICS 的数据。 The SOAP-service is connecting to service bus (WESB) to handle data and protocol transformation and then WESB calls the CTG which in turn calls CICS and the reply is handled vice verse (synchronously). SOAP 服务连接到服务总线 (WESB) 以处理数据和协议转换,然后 WESB 调用 CTG,后者又调用 CICS,反之亦然(同步)处理回复。 WESB calls the CTG using Resource Adapter and JCA connector (or CICS adapter as it is called in WESB). WESB 使用资源适配器和 JCA 连接器(或在 WESB 中称为 CICS 适配器)调用 CTG。 Now, I have all the pieces in place and working.现在,我已经准备好所有部件并开始工作了。

My question is about the security, and even though I'm working with WESB, the answer is probably the same as in Websphere Application Server (WAS).我的问题是关于安全性的,即使我正在使用 WESB,答案也可能与 Websphere Application Server (WAS) 中的相同。 The Resource Adaper is secured using JAAS - J2C authentication data. Resource Adaper 使用 JAAS - J2C 身份验证数据进行保护。 I have configured the security using J2C authentication data entry, so basically I have a reference in the application I'm running and at runtime the application does a lookup for the security attributes from the server.我已经使用 J2C 身份验证数据条目配置了安全性,所以基本上我在我正在运行的应用程序中有一个引用,并且在运行时应用程序会从服务器查找安全属性。 So basically I'm always accessing the CICS adapter with the same security reference.所以基本上我总是使用相同的安全参考访问 CICS 适配器。

My problem is that I need to access the resource in more dynamic way in the future.我的问题是将来我需要以更动态的方式访问资源。 The security cannot be welded into the application anymore but instead given as a parameter.安全性不能再焊接到应用程序中,而是作为参数提供。

Could some WESB or WAS guru help me out, how this could be done in WESB/WAS exactly?一些 WESB 或 WAS 大师可以帮我解决这个问题吗?这在 WESB/WAS 中究竟是如何完成的?

Can you elaborate a bit further?你能详细说明一下吗? I don't work with CTG but I believe it is no different from other resources such as JDBC or JMS resource.我不使用 CTG,但我相信它与其他资源(例如 JDBC 或 JMS 资源)没有什么不同。

On the CTG resource adapter, you have identified credentials that are used for all calls to the CICS.在 CTG 资源适配器上,您已经确定了用于所有 CICS 调用的凭据。

This is similar to what we do when we work with a Data Source and this approach is agreeable to most people.这类似于我们在使用数据源时所做的事情,并且这种方法为大多数人所接受。

I do not see how the J2C credential is welded to the application.我看不到 J2C 凭证是如何与应用程序结合的。 The configuration is done @ WAS/WESB.配置完成 @WAS/WESB。 The application would simply work with the JNDI resources on the server to which the J2C aliases are configured.该应用程序将简单地使用配置了 J2C 别名的服务器上的 JNDI 资源。

If you elaborate on the dynamic requirement folks can help out.如果您详细说明动态需求,人们可以提供帮助。

HTH HTH

Manglu莽卢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将Spring安全性配置与IBM Liberty Profile basicRegistry连接 - How to connect spring security configuration with IBM Liberty Profile basicRegistry 无法初始化 class sun.security.jca.ProviderConfig$ProviderLoader - Could not initialize class sun.security.jca.ProviderConfig$ProviderLoader 使用 JCA 和 AES 我应该注意哪些安全地雷? - What security landmines should I look out for with JCA and AES? 哪种方法是使用Java Connector Architecture(JCA)连接IBM Mainframe应用程序的最佳方法? - Which is the best approach to connect IBM Mainframe application using Java Connector Architecture (JCA)? ibm自由中的JTA事务配置 - JTA transaction configuration in ibm liberty Spring Security配置到Java配置 - Spring security configuration to java configuration Spring Security 配置中的 BcryptEncoder 配置 - BcryptEncoder configuration in Spring Security Configuration 带有JBOSS EAP 6.4和JCA资源适配器且MDB抛出'xa_open'的IBM MQ v7.5失败,错误代码为'-3' - IBM MQ v7.5 with JBOSS EAP 6.4 with JCA resource adapter and MDB throws 'xa_open' has failed with errorCode '-3' MVC中的Spring安全性配置 - Spring Security Configuration In MVC 外部化Spring Security配置? - Externalizing Spring Security configuration?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM