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

kill debug and tracing code

parent 1e14a7c3
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,6 @@ sub print {
## returns a Lib::XML représenting an XML file
sub _get_xml_object {
my ($self, $metadata_file) = @_;
$self->{logger}->log(level => LOG_DEBUG, message => "");
unless (-f $metadata_file) {
$self->{logger}->log(
......@@ -235,16 +234,6 @@ sub _parse_saml_metadata {
)
};
#$self->{logger}->log(
# level => LOG_TRACE,
# message => sprintf(
# "Endpoint: type:%s ; binding=%s ; location=%s ; index=%s ; isdefault=%s", 'AssertionConsumerService',
# $sso->getAttribute('Binding'),
# $sso->getAttribute('Location'),
# $sso->getAttribute('index'),
# $sso->getAttribute('isDefault')
# )
#);
}
foreach my $requestedattribute (
......@@ -341,18 +330,11 @@ sub _parse_saml_metadata {
foreach
my $contact ($child->getElementsByLocalName('ContactPerson'))
{
$self->{logger}
->log(level => LOG_TRACE, message => "ContactPerson");
my %contact_details;
$contact_details{type} =
$contact->getAttribute('contactType');
foreach my $contact_child ($EntityDescriptor->childNodes()) {
$self->{logger}->log(
level => LOG_TRACE,
message => "Contact : %s",
$contact_child->localName
);
$contact_details{ $contact_child->localName } =
IdPAccountManager::Tools::encode_utf8(
$contact_child->textContent());
......@@ -385,8 +367,6 @@ sub _parse_saml_metadata {
if ($extracted_data->{domain});
$extracted_data->{domain} = $domains;
#$self->{logger}->log(level => LOG_DEBUG, message => "Scopes : %s", $domains);
push @extracted_array, $extracted_data;
}
......
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