My Oracle Support Banner

SOA 11g: B2B User and Authentication Provider Q&A (Doc ID 1340642.1)

Last updated on APRIL 23, 2019

Applies to:

Oracle B2B 10g (Business to Business)
Information in this document applies to any platform.

Purpose

After creating a new user in the B2B interface as described by the following steps, inconsistent behaviour and malfunctions can be observed. For example, if you want to delete or edit a user in the B2B console, you would get an error dialog without any message. You will see different errors in the log file. The steps to create a user are:

Steps followed to add a Trading Partner User:

  1. Create new user in the Default WebLogic Server (WLS) Identity Store:
    • Log in to the WebLogic Administration Console (http://host:port/console).
    • Click the Security Realms function.
    • Click myrealm. Within the myrealm settings, click the Users and Groups tab.
    • Click New and add a user and user password.

  2. Add a User in the Oracle B2B Interface:
    • Click the Partner link.
    • Click the User tab, select a trading partner, and then click Add.
    • Provide the username created when creating a new user in the Identity Store. Click Search.
    • Select the Monitor or Administrator role and click OK

Possible error messages in the log file:

<Jan 18, 2011 9:07:41 AM CST> <Warning> <oracle.soa.b2b.ui> <BEA-000000> <EXCEPTION:
MESSAGE:Invalid User. No trading partner found for user <username>
STACK TRACE:
java.lang.Exception: Invalid User. No trading partner found for user <username>
at oracle.tip.b2b.ui.util.SessionTimeoutFilter.setLoggedUserInfo(SessionTimeoutFilter.java:410)
at oracle.tip.b2b.ui.util.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)


or

java.security.PrivilegedActionException:
oracle.security.jps.service.policystore.PolicyObjectNotFoundException: Cannot
remove principal from application role; principal "principal_name" is not member of
application role "rolename".
at java.security.AccessController.doPrivileged(Native Method)
at oracle.tip.b2b.security.SecurityUtility.removeUserFromRole(SecurityUtility.java:768)
at oracle.tip.b2b.ui.data.partner.GuiUsers.save(GuiUsers.java:221)
at oracle.tip.b2b.ui.backing.partner.TpUsers.save(TpUsers.java:500)
at oracle.tip.b2b.ui.backing.partner.TpUsers.saveButtonAction(TpUsers.java:450)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)




Questions and Answers

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Questions and Answers
 What is the cause for this behavior?
 Why are other Authentication Providers not certified?
 How to configure DB-Based Security Store?
 How would an end to end configuration look like using OPSS?
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.