NAME

WebService::Cmis::Agent::BasicAuth - authenticate via HTTP headers

DESCRIPTION

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

METHODS

new(%params)

Create a new WebService::Cmis::Agent::HeaderAuth.

See LWP::UserAgent for more options.

Parameters:

  • remoteUserHeader

COPYRIGHT AND LICENSE

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.