You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2015/01/29 11:43:34 UTC

[jira] [Commented] (CMIS-887) RunAs Authentication possiblity

    [ https://issues.apache.org/jira/browse/CMIS-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296684#comment-14296684 ] 

Florian Müller commented on CMIS-887:
-------------------------------------

You are looking for an [authentication provider|https://chemistry.apache.org/java/0.12.0/maven/apidocs/org/apache/chemistry/opencmis/commons/spi/AuthenticationProvider.html].
The best way to start is extend the [standard authentication provider|https://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/StandardAuthenticationProvider.java?view=markup] and override the {{getHTTPHeaders()}} method.

You may also ask the Alfresco community. I'm pretty sure you are not the first one doing that.

> RunAs Authentication possiblity
> -------------------------------
>
>                 Key: CMIS-887
>                 URL: https://issues.apache.org/jira/browse/CMIS-887
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client, opencmis-server
>    Affects Versions: OpenCMIS 0.12.0
>         Environment: Alfresco 4.2
>            Reporter: Tahir Malik
>
> There is no possibility to define a RunAs user through CMIS.
> At the moment we have a custom webscript in Alfresco which logs in as the RunAs user and returns the ticket.
> Then we use the ticket in the password field and do our stuff.
> It would be nice to extent the Authentication mechanism to supply extra parameters and control them server side so this is not needed.
> If this is already possible, then I didn't knew that and I'd love to have some info how to do that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)