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

more search scoping

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