Hi,
I need to set some headers depends on source IP of request. I try to use http-transformation (request) for that
purpose. I configured credential attribute I whant to see in the rule input:
cred-attr-name = AZN_CRED_IP_FAMILY_AF_INET
cred-attr-name = AZN_CRED_PRINCIPAL_NAME
cred-attr-name = AZN_CRED_AUTHZN_ID
cred-attr-name = AZN_CRED_PRINCIPAL_UUID
cred-attr-name = AUTHENTICATION_LEVEL
cred-attr-name = AZN_CRED_NETWORK_ADDRESS_STR
but I don´t get those values in the rule engine:
<?xml version="1.0" encoding='UTF-8'?>
<HTTPRequest>
<Credential>
<Attributes>
<Attribute name="AZN_CRED_IP_FAMILY_AF_INET"/>
<Attribute name="AZN_CRED_PRINCIPAL_NAME"/>
<Attribute name="AZN_CRED_AUTHZN_ID"/>
<Attribute name="AZN_CRED_PRINCIPAL_UUID"/>
<Attribute name="AUTHENTICATION_LEVEL"/>
<Attribute name="AZN_CRED_NETWORK_ADDRESS_STR"/>
</Attributes>
</Credential>
<RequestLine>
...
...
In the log I see
src/pdweb/webseald/http/transformation/XMLHTTPMessage.cpp:841: ENTER XMLHTTPMessage::doCredentialAttributes
src/pdweb/webseald/http/transformation/XMLHTTPMessage.cpp:892: no credential available
src/pdweb/webseald/http/transformation/XMLHTTPMessage.cpp:892: no credential available
src/pdweb/webseald/http/transformation/XMLHTTPMessage.cpp:892: no credential available
src/pdweb/webseald/http/transformation/XMLHTTPMessage.cpp:892: no credential available
src/pdweb/webseald/http/transformation/XMLHTTPMessage.cpp:892: no credential available
src/pdweb/webseald/http/transformation/XMLHTTPMessage.cpp:892: no credential available
src/pdweb/webseald/http/transformation/XMLHTTPMessage.cpp:900: END XMLHTTPMessage::doCredentialAttributes
I can´t understend why are these credentials are not available. They exist in the credentials, I can see them in /mobile-demo/diag/ application.
Regards,
Ivan
------------------------------
Ivan Yartsev
------------------------------