Error: REST API fails to update FedSPPartnerships details in AdminUI
search cancel

Error: REST API fails to update FedSPPartnerships details in AdminUI

book

Article ID: 254501

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

 

When running AdminUI and executing FedSPPartnerships REST API to update a partnership, the command generates the following error

"message": "java.lang.IllegalArgumentException: null attribute value DynAuthDefaultURI"

when the partnership is defined with an authentication context template with EnableDynamicAuthentication=false.

Error: 

"responseType": "error",
"status": 500,
"data": [
{
  "message": "java.lang.IllegalArgumentException: null attribute value DynAuthDefaultURI"
}
]

Cause


If DynAuthn is enabled with a default URL in the ACT, the issue won't occur because DynAuthDefaultURI will be set.

The issue occurs because API wrongly expects DynAuthDefaultURI to be provided when EnableDynamicAuthentication=false.

When EnableDynamicAuthentication=false the REST API call should update the partnership without reporting any issue.

 

Resolution


Upgrade AdminUI to 12.8SP8 or newer version to benefit from the fix from DE549255 (1).

When upgrading AdminUI, don't forget to previously upgrade the Policy Server to the same version, and upgrade the Policy Store data accordingly.

 

Additional Information