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
  • 1.  Validación AAA Extract with Processing Metadata

    Posted 12/21/20 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 12/22/20 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 12/22/20 01:39 PM


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

    Posted 01/28/21 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 02/01/21 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 02/01/21 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 02/02/21 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 02/02/21 12:39 PM

    Dear HP,

    Thanks for your answer.



    #DataPower
    #Support
    #SupportMigration