diff --git a/lib/IdPAccountManager/ServiceProvider.pm b/lib/IdPAccountManager/ServiceProvider.pm index b0c7c98e9d6b956fd8a4af46bb47939d86c2aa60..748f627ef7e3467465503a30caa249960eda2dc0 100644 --- a/lib/IdPAccountManager/ServiceProvider.pm +++ b/lib/IdPAccountManager/ServiceProvider.pm @@ -39,6 +39,13 @@ sub new { return $self; } +sub load { + my $self = shift; + my %args = @_; + + return $self->{'persistent'}->load(%args); +} + sub get { my $self = shift; my $attribute_name = shift; @@ -70,8 +77,8 @@ sub print { my $self = shift; my $fd = shift || \*STDOUT; - printf $fd "ServiceProvider ID=%s; entityid=%s; displayname=%s\n", - $self->get('id'), $self->get('entityid'), $self->get('displayname'); + printf $fd "ServiceProvider ID=%s; entityid=%s; displayname=%s; contacts=%s\n", + $self->get('id'), $self->get('entityid'), $self->get('displayname'), $self->get('contacts'); return 1. }