WebService::Cmis::Agent::BasicAuth - authenticate via HTTP headers
This class implements authentication using HTTP headers.
TODO: this is not yet there.
See: http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#External
my $client = WebService::Cmis::getClient( url => "http://cmis.alfresco.com/service/cmis", useragent => new WebService::Cmis::Agent::HeaderAuth( remoteUserHeader => 'X-Alfresco-Remote-User' ); ); my $repo = $client->getRepository;
Parent class: WebService::Cmis::Agent
Create a new WebService::Cmis::Agent::HeaderAuth.
See LWP::UserAgent for more options.
Parameters:
remoteUserHeader
Copyright 2012-2013 Michael Daum
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/artistic.html.
To install WebService::Cmis, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Cmis
CPAN shell
perl -MCPAN -e shell install WebService::Cmis
For more information on module installation, please visit the detailed CPAN module installation guide.