make tidy
This commit is contained in:
parent
b48232068e
commit
7db3b688fa
|
@ -136,8 +136,7 @@ sub authorize {
|
|||
# 0 if user isn't granted
|
||||
sub testUri {
|
||||
my $self = shift;
|
||||
$self->abort(
|
||||
"Can't test URI because configuration has not been loaded",
|
||||
$self->abort( "Can't test URI because configuration has not been loaded",
|
||||
$self->{noConf} )
|
||||
if ( $self->{noConf} );
|
||||
my $uri = shift;
|
||||
|
|
|
@ -442,7 +442,8 @@ sub childInit {
|
|||
$s->push_handlers(
|
||||
PerlPostConfigHandler => sub {
|
||||
my ( $c, $l, $t, $s ) = splice @_;
|
||||
$s->add_version_component('Lemonldap::NG::Handler/'.$VERSION);
|
||||
$s->add_version_component(
|
||||
'Lemonldap::NG::Handler/' . $VERSION );
|
||||
}
|
||||
) unless ( $args->{hideSignature} );
|
||||
}
|
||||
|
|
|
@ -14,15 +14,15 @@ use Data::Dumper;
|
|||
my $session_id = shift @ARGV;
|
||||
|
||||
# Service
|
||||
my $soap = SOAP::Lite->new( proxy => 'http://auth.example.com/index.pl/sessions');
|
||||
my $soap =
|
||||
SOAP::Lite->new( proxy => 'http://auth.example.com/index.pl/sessions' );
|
||||
$soap->default_ns('urn:Lemonldap/NG/Common/CGI/SOAPService');
|
||||
|
||||
|
||||
# Call some SOAP methods
|
||||
my $attributes = $soap->call( 'getAttributes', $session_id)->result();
|
||||
my $attributes = $soap->call( 'getAttributes', $session_id )->result();
|
||||
print Dumper $attributes;
|
||||
|
||||
my $applications = $soap->call( 'getMenuApplications', $session_id)->result();
|
||||
my $applications = $soap->call( 'getMenuApplications', $session_id )->result();
|
||||
print Dumper $applications;
|
||||
|
||||
exit;
|
||||
|
|
Loading…
Reference in New Issue
Block a user