KEYCLOAK-15540 correct SAMLAttributeConsumingServiceParser
This commit is contained in:
parent
4123b7a91e
commit
f4f58ab707
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ public class SAMLAttributeConsumingServiceParser extends AbstractStaxSamlMetadat
|
|||
break;
|
||||
|
||||
case SERVICE_DESCRIPTION:
|
||||
target.addServiceDescription(new LocalizedNameType(StaxParserUtil.getAttributeValue(elementDetail, ATTR_LANG)));
|
||||
LocalizedNameType serviceDescription = new LocalizedNameType(StaxParserUtil.getAttributeValue(elementDetail, ATTR_LANG));
|
||||
StaxParserUtil.advance(xmlEventReader);
|
||||
serviceDescription.setValue(StaxParserUtil.getElementText(xmlEventReader));
|
||||
target.addServiceDescription(serviceDescription);
|
||||
break;
|
||||
|
||||
case REQUESTED_ATTRIBUTE:
|
||||
|
|
Loading…
Reference in a new issue