-
renater.salaun authored
git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@2 047e039d-479c-447e-8a29-aa6bf4a09bab
renater.salaun authoredgit-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@2 047e039d-479c-447e-8a29-aa6bf4a09bab
TestAccount.pm.ORIG 807 B
package IdPAccountManager::TestAccount;
use Moose;
use Moose::Util::TypeConstraints;
subtype 'entityid',
as 'Str',
where { /^(urn:|http(s)?\:\/\/)/ },
message { "$_ is not a valide entityid"};
has 'account_profile' => (is => 'ro',
isa => 'Str',
required => 1);
has 'sp_entityid' => (is => 'rw',
isa => 'entityid',
required => 1,
);
#before 'new' => sub { print "about to call new\n"; };
1; # Magic true value required at end of module
__END__
=head1 NAME
IdPAccountManager::TestAccount - Manage test user accounts for the Test Identity Provider
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 SUBROUTINES/METHODS
=head1 AUTHOR
Olivier Salaün (olivier.salaun@renater.fr)