Skip to content
Snippets Groups Projects
Commit 869e3946 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

more search scoping

parent 455335e9
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ sub parse {
$data->{type} = 'idp';
foreach my $sso (
$child->getElementsByLocalName('SingleSignOnService'))
$child->getChildrenByLocalName('SingleSignOnService'))
{
## On ne prend en compte que les endpoints prévus
......@@ -87,7 +87,7 @@ sub parse {
## We also check the index to select the ACS that has the lower index
my ($index_saml1, $index_saml2);
foreach my $sso (
$child->getElementsByLocalName('AssertionConsumerService')
$child->getChildrenByLocalName('AssertionConsumerService')
) {
## Extracting endpoints information
......@@ -120,7 +120,7 @@ sub parse {
} elsif ($child->localname() eq 'Extensions') {
foreach my $registrationinfo (
$child->getElementsByLocalName('RegistrationInfo')
$child->getChildrenByLocalName('RegistrationInfo')
) {
$data->{registration_info}->{registration_authority} =
......@@ -128,7 +128,7 @@ sub parse {
$data->{registration_info}->{registration_instant} =
$registrationinfo->getAttribute('registrationInstant');
foreach my $policy (
$registrationinfo->getElementsByLocalName(
$registrationinfo->getChildrenByLocalName(
'RegistrationPolicy')
) {
my $lang = $policy->getAttribute('lang');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment