SOA Server Authentication Error With Correct Credential Configuration

本文解决SOA与BAM部署在不同WebLogic域时出现的SOAServerAuthenticationError问题。通过配置TrustedDomain及启用跨域安全设置,确保双方的信任关系,避免因主体无效引发的安全异常。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

SOA Server Authentication Error With Correct Credential Configuration

With SOA and BAM deployed on two separate WLS domain.

Security Exception Observed on RMI invocation from SOA to BAM ADC EJB

From SOA Server Log:

Caused by: java.lang.SecurityException: <strong>[Security:090398]</strong>Invalid Subject: principals=weblogic, Administrators
...
Caused by: java.lang.SecurityException: <strong>[Security:090398]</strong>Invalid Subject: principals=weblogic, Administrators
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:835)
...

From BAM Server Log:

<Jan 30, 2009 4:59:40 PM PST> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.jndi.internal.AdminRoleBasedDispatchServerRef@9, implementation: 'weblogic.jndi.internal.RootNamingNode@4e229e', oid: '9', implementationClassName: 'weblogic.jndi.internal.RootNamingNode'
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=weblogic, Administrators.
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=weblogic, Administrators
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:835)
at weblogic.security.service.SecurityServiceManager.getSealedSubjectFromWire(SecurityServiceManager.java:524)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:315)
at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:875)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:310)
Truncated. see log file for complete stacktrace

You must set up Trusted Domain on both Oracle WebLogic Server domains.

Go to Oracle WebLogic Server Administration Console>Respected Domainssoainfra or bam>Securityand do the following:

  1. Navigate to Home>Domain>Security, and checkCross Domain Security Enabled.

  2. Click Advanced, enter the desired password in theCredential and Confirm Credential fields, and click Save.

  3. Repeat this configuration change for both domains using the same password value.

  4. Restart both Oracle WebLogic Servers.

authentication error myswl” 是一个错误信息,表明在使用MySQL数据库时出现了身份验证错误。MySQL是一种常用的关系型数据库管理系统,它在连接数据库时通常需要进行身份验证以确保只有经过授权的用户可以访问和操作数据库。当出现“authentication error myswl”错误时,可能有以下几个原因: 1. 用户名或密码错误:在连接MySQL数据库时,需要提供正确的用户名和密码。如果输入的用户名或密码不正确,就会导致身份验证错误。因此,需要确保输入的用户名和密码是正确的并且匹配。 2. 授权问题:在MySQL数据库中,管理员可以设置不同用户的访问权限。如果用户没有被授予访问特定数据库或执行特定操作的权限,就会出现身份验证错误。需要管理员检查和修改用户的权限设置。 3. 连接设置问题:连接MySQL数据库时,还需要提供其他连接参数,如主机名、端口号等。如果这些连接参数设置不正确,也可能导致身份验证错误。需要确保提供的连接参数是正确的。 解决“authentication error myswl”错误的方法包括: 1. 检查用户名和密码是否正确,确保输入的用户名和密码与数据库中的匹配。 2. 确认用户是否已被授予访问数据库的权限,如果没有,需要修改用户的权限。 3. 检查连接设置是否正确,包括主机名、端口号等,确保提供的连接参数是正确的。 4. 如果问题仍然存在,可能是数据库本身的配置或其他设置问题,建议联系数据库管理员或技术支持人员寻求进一步的帮助和解决方案。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值