lemonldap-ng/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm
Xavier Guimard dcd4905342 * Update Perl and Debian dependencies, and debian/rules for the new manager
* Add pod skeleton for Manager.pm
 * correct pod for IssuerDB*
2009-12-13 15:40:33 +00:00

86 lines
1.6 KiB
Perl

## @file
# SAML Issuer file
## @class
# SAML Issuer class
package Lemonldap::NG::Portal::IssuerDBSAML;
use strict;
use Lemonldap::NG::Portal::Simple;
our $VERSION = '0.01';
## @method void issuerDBInit()
# TODO
# Load and check SAML configuration
# @return Lemonldap::NG::Portal error code
sub issuerDBInit {
my $self = shift;
$self->abort('This feature is not released');
return PE_OK;
}
## @apmethod int issuerForUnAuthUser()
# TODO
# Check if there is an SAML authentication request.
# Called only for unauthenticated users, it store SAML request in
# $self->{url}
# @return Lemonldap::NG::Portal error code
sub issuerForUnAuthUser {
my $self = shift;
PE_OK;
}
## @apmethod int issuerForAuthUser()
# TODO
# Check if there is an SAML authentication request for an authenticated user
# and build assertions
# @return Lemonldap::NG::Portal error code
sub issuerForAuthUser {
my $self = shift;
PE_OK;
}
## @apmethod int issuerLogout()
# TODO
# @return Lemonldap::NG::Portal error code
sub issuerLogout {
my $self = shift;
PE_OK;
}
1;
__END__
=head1 NAME
Lemonldap::NG::Portal::IssuerDBSAML - SAML IssuerDB for Lemonldap::NG
=head1 SYNOPSIS
use Lemonldap::NG::Portal::IssuerDBSAML;
#TODO
=head1 DESCRIPTION
SAML IssuerDB for Lemonldap::NG
=head1 SEE ALSO
L<Lemonldap::NG::Portal>
=head1 AUTHOR
Clément Oudot, E<lt>coudot@linagora.comE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2009 by Clément Oudot
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.10.0 or,
at your option, any later version of Perl 5 you may have available.
=cut