Total Pageviews

Thursday, June 21, 2018

forgerock OPENAM passing attribute to SP bug

When SP need  additional attribute and you add these attribute to SP metadata in OpenAM console. all the existing attribute values got overwritten. So to fix this you have add all the attribute that SP required to SP metadata configuration by following below steps

go to SP metadata and select "Assertion Processing" and add required attributes to "Attribute Mapper"

like

mail=mail
uid=uid

1 comment:

  1. Initializing WebLogic Scripting Tool (WLST) ...

    Welcome to WebLogic Server Administration Scripting Shell

    Type help() for help on available commands

    wls:/offline> connect('weblogic','Oracle_123','t3://mypc:7001')
    Connecting to t3://mypc:7001 with userid weblogic ...
    Successfully connected to Admin Server "AdminServer" that belongs to domain "mydomain15".

    Warning: An insecure protocol was used to connect to the server.
    To ensure on-the-wire security, the SSL port or Admin port should be used instead.

    wls:/mydomain15/serverConfig/> oid_setup(orcladminPassword='Oracle_123',odsPassword='Oracle_123',realmDN='dc=us,dc=oracle,dc=com')
    Location changed to edit custom tree. This is a writable tree with No root.
    For more help, use help('editCustom')

    Starting an edit session ...
    Started edit session, be sure to save and activate your changes once you are done.
    Traceback (innermost last):
    File "", line 1, in ?
    File "/D:/Installations/Middleware/Oracle_Home/oid/plugins/wlst/oid-wlst-dependencies.jar!/wlstScriptDir/OidCustomCommands.py", line 14, in oid_setup
    File "D:\Installations\Middleware\Oracle_Home\oid\plugins\wlst\oid-wlst-dependencies.jar\wlstScriptDir/oid_handler.py", line 274, in oid_doSetup
    File "D:\Installations\Middleware\Oracle_Home\wlserver\modules\com.oracle.weblogic.management.scripting.jar\weblogic/management/scripting/utils/modules/wlstModule.py", line 38, in invoke
    File "C:\Users\PC~1\AppData\Local\Temp\wlst_module16228764592223979273.py", line 753, in wlstInvoke
    File "C:\Users\PC~1\AppData\Local\Temp\wlst_module35208756416998744505.py", line 240, in raiseWLSTException
    WLSTException: Error occurred while performing invoke : Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
    Use dumpStack() to view the full stacktrace :
    wls:/mydomain15/editCustom/oracle.oid.mbeans/oracle.oid.mbeans:type=OIDSystemComponent,name=OIDComponentManager> dumpStack()
    This Exception occurred at Mon Aug 24 23:47:45 GMT 2020.
    javax.management.MBeanException: Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
    at weblogic.utils.StackTraceDisabled.unknownMethod()
    Caused by: java.lang.Exception: Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
    ... 1 more

    javax.management.MBeanException: Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
    wls:/mydomain1/editCustom/oracle.oid.mbeans/oracle.oid.mbeans:type=OIDSystemComponent,name=OIDComponentManager>



    I had this error. Can you help please?

    ReplyDelete