1Lemonldap::NG::Common::UAspearchCeo:n:tSrLeiesbmsuoitnoelndd:a:PpSe:Or:AlNPG(D:3o:)cCuommemnotna:t:iAopnache::Session::SOAP(3)
2
3
4

NAME

6       Lemonldap::NG::Common::Apache::Session::SOAP - Perl extension written
7       to access to Lemonldap::NG Web-SSO sessions via SOAP.
8

SYNOPSIS

10       •   With Lemonldap::NG::Handler
11
12             package My::Package;
13             use Lemonldap::NG::Handler::SharedConf;
14
15             our @ISA = qw(Lemonldap::NG::Handler::Simple);
16
17             __PACKAGE__->init ({
18                    globalStorage => 'Lemonldap::NG::Common::Apache::Session::SOAP',
19                    globalStorageOptions => {
20                            proxy => 'http://auth.example.com/sessions',
21                            proxyOptions => {
22                                timeout => 5,
23                            },
24                            # If soapserver is protected by HTTP Basic:
25                            User     => 'http-user',
26                            Password => 'pass',
27                            # To have a local session cache
28                            localStorage        => "Cache::FileCache",
29                            localStorageOptions => {
30                                'namespace'          => 'lemonldap-ng',
31                                'default_expires_in' => 600,
32                            },
33                    },
34                    configStorage       => {
35                        ... # See Lemonldap::NG::Handler
36
37       •   With Lemonldap::NG::Portal
38
39             use Lemonldap::NG::Portal::SharedConf;
40             my $portal = new Lemonldap::NG::Portal::SharedConf (
41                    globalStorage => 'Lemonldap::NG::Common::Apache::Session::SOAP',
42                    globalStorageOptions => {
43                            proxy => 'http://auth.example.com/sessions',
44                            proxyOptions => {
45                                timeout => 5,
46                            },
47                            # If soapserver is protected by HTTP Basic:
48                            User     => 'http-user',
49                            Password => 'pass',
50                            # To have a local session cache
51                            localStorage        => "Cache::FileCache",
52                            localStorageOptions => {
53                                'namespace'          => 'lemonldap-ng',
54                                'default_expires_in' => 600,
55                            },
56                    },
57                    configStorage => {
58                        ... # See Lemonldap::NG::Portal
59
60           You can also set parameters corresponding to "Apache::Session
61           module" in the manager.
62

DESCRIPTION

64       Lemonldap::NG::Common::Conf provides a simple interface to access to
65       Lemonldap::NG Web-SSO configuration. It is used by
66       Lemonldap::NG::Handler, Lemonldap::NG::Portal and
67       Lemonldap::NG::Manager.
68
69       Lemonldap::NG::Common::Apache::Session::SOAP used with
70       Lemonldap::NG::Portal provides the ability to access to Lemonldap::NG
71       sessions via SOAP: the portal act as a proxy to access to the real
72       Apache::Session module (see HTML documentation for more)
73
74   SECURITY
75       As Lemonldap::NG::Common::Conf::SOAP use SOAP::Lite, you have to see
76       SOAP::Transport to know arguments that can be passed to "proxyOptions".
77       Lemonldap::NG provides a system for HTTP basic authentication.
78
79       Examples :
80
81       •   HTTP Basic authentication
82
83           SOAP::transport can use basic authentication by rewriting
84           ""SOAP::Transport::HTTP::Client::get_basic_credentials>:
85
86             package My::Package;
87
88             use base Lemonldap::NG::Handler::SharedConf;
89
90             __PACKAGE__->init ( {
91                 globalStorage => 'Lemonldap::NG::Common::Apache::Session::SOAP',
92                 globalStorageOptions => {
93                           proxy => 'http://auth.example.com/sessions',
94                           User     => 'http-user',
95                           Password => 'pass',
96                 },
97             } );
98
99       •   SSL Authentication
100
101           SOAP::transport provides a simple way to use SSL certificate:
102           you've just to set environment variables.
103
104             package My::Package;
105
106             use base Lemonldap::NG::Handler::SharedConf;
107
108             # AUTHENTICATION
109             $ENV{HTTPS_CERT_FILE} = 'client-cert.pem';
110             $ENV{HTTPS_KEY_FILE}  = 'client-key.pem';
111
112             __PACKAGE__->init ( {
113                 globalStorage => 'Lemonldap::NG::Common::Apache::Session::SOAP',
114                 globalStorageOptions => {
115                           proxy => 'https://auth.example.com/sessions',
116                 },
117             } );
118

SEE ALSO

120       Lemonldap::NG::Manager, Lemonldap::NG::Common::Conf::SOAP,
121       Lemonldap::NG::Handler, Lemonldap::NG::Portal,
122       <http://lemonldap-ng.org/>
123

AUTHORS

125       LemonLDAP::NG team <http://lemonldap-ng.org/team>
126

BUG REPORT

128       Use OW2 system to report bug or ask for features:
129       <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>
130

DOWNLOAD

132       Lemonldap::NG is available at <https://lemonldap-ng.org/download>
133
135       See COPYING file for details.
136
137       This library is free software; you can redistribute it and/or modify it
138       under the terms of the GNU General Public License as published by the
139       Free Software Foundation; either version 2, or (at your option) any
140       later version.
141
142       This program is distributed in the hope that it will be useful, but
143       WITHOUT ANY WARRANTY; without even the implied warranty of
144       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
145       General Public License for more details.
146
147       You should have received a copy of the GNU General Public License along
148       with this program.  If not, see <http://www.gnu.org/licenses/>.
149
150
151
152perl v5.36.1                   Lem2o0n2l3d-a1p1:-:1N4G::Common::Apache::Session::SOAP(3)
Impressum