DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Validación AAA Extract with Processing Metadata

Community Support Admin

Community Support AdminTue December 22, 2020 08:01 AMBest Answer

Community Support Admin

Community Support AdminTue December 22, 2020 01:39 PMBest Answer

Community Support Admin

Community Support AdminTue February 02, 2021 12:39 PMBest Answer

  • 1.  Validación AAA Extract with Processing Metadata

    Posted Mon December 21, 2020 10:31 PM

    Dears,

    I would like to extract a custom token that comes in the request headers of my client using as the identity extraction the Processing Metadata.

    I define the object:

    Metadata Category -> Custom Header

    Metadata Item -> custom-token (due to the XML Info file - Custom Token)

    Custom Data Source -> the desired header.

    However the extraction is made but it doesn't satisfy the XML Info file, so every request is rejected by policy.

    ¿Any ideas?

    Thank you!

    Regards,

    SebasQuiroga



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: Validación AAA Extract with Processing Metadata
    Best Answer

    Posted Tue December 22, 2020 08:01 AM

    Hi,

    change Metadata Item -> custom-token to Metadata Item -> token

    --HP



    #DataPower
    #Support
    #SupportMigration


  • 3.  RE: Validación AAA Extract with Processing Metadata
    Best Answer

    Posted Tue December 22, 2020 01:39 PM


  • 4.  RE: Validación AAA Extract with Processing Metadata
    Best Answer

    Posted Thu January 28, 2021 07:53 PM

    Dear HP,

    Is it possible to add the same custom token in Metadata Item (token) with different Custom Data Source?

    I tried to duplicate the Metadata Item - token- and changing for the new Custom Data Source - an other custom header - but it gives error.



    #DataPower
    #Support
    #SupportMigration


  • 5.  RE: Validación AAA Extract with Processing Metadata
    Best Answer

    Posted Mon February 01, 2021 08:00 AM

    Can you please explain what are you trying to achieve? If you want the automatic extraction and authentication to work, a duplicate item will most likely break the logic.

    --HP



    #DataPower
    #Support
    #SupportMigration


  • 6.  RE: Validación AAA Extract with Processing Metadata
    Best Answer

    Posted Mon February 01, 2021 01:45 PM

    Dear HP.

    Thanks for your answer,


    The scenario is the following: at the beginning, clients were using in the header fields a custom token named - let's say for example - tokenName1, then as time passed, new clients start using for the same purpose a new token named for instance tokenName2; the idea is to extract both identities (Both custom tokens that actually refer to the same)using Processing Metadata.


    Regards,




    #DataPower
    #Support
    #SupportMigration


  • 7.  RE: Validación AAA Extract with Processing Metadata
    Best Answer

    Posted Tue February 02, 2021 10:47 AM

    I get the following error from WebGUI when I try to duplicate the item: "Error: Metadata Item Name must be unique within each Meta Category" . So this is pretty clear. If you want the automatic extraction to work, then you have to rewrite the headers yourself using some custom transformation and then gradually enforce the clients to start using one single header.


    --HP



    #DataPower
    #Support
    #SupportMigration


  • 8.  RE: Validación AAA Extract with Processing Metadata
    Best Answer

    Posted Tue February 02, 2021 12:39 PM

    Dear HP,

    Thanks for your answer.



    #DataPower
    #Support
    #SupportMigration