You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Mano Swerts <m....@aca-it.be> on 2011/03/08 09:07:40 UTC

OpenCMIS 0.2.0 using a ticket for authentication

Hi all,

We are using OpenCMIS 0.2.0 together with Alfresco 3.4. We want to use OpenCMIS in combination with an Alfresco authentication ticket. Is there something available in CMIS to use tickets for authentication?

Thanks in advance.

Kind regards, 

Mano Swerts

_________________________________________________

 We published a new company movie featuring YOU!
         See http://www.aca-it.be/movie
_________________________________________________

Re: OpenCMIS 0.2.0 using a ticket for authentication

Posted by Mark Davidson <uk...@googlemail.com>.
I'm interested in that type of functionality - the ability to create a
ticket for a particular user (we may not have the password). For example a
user may login to a portal or other app via SSO (e.g. Kerberos). We then
want to perform an action as the authenticated user against a CMIS enabled
repository. I deally we could connect to the CMIS repository as an admin,
get a ticket for a user then use that in subsequent requests. Alfresco's
CMIS implementation supports use of native login tickets & I think that
Documentum may do as well (not 100% sure of this). It's a shame that the
CMIS standard doesn't cover this.

Regards

Mark

On 8 March 2011 12:30, Florian Müller <fl...@alfresco.com> wrote:

> It kind of is against the purpose of using CMIS. But there are many
> motivations for using CMIS. If you want interoperability then Alfresco
> Tickets are not a good idea. If you use CMIS "only" as a nice interface to
> Alfresco then there might be some use cases.
>
>
> Regarding your questions:
> Types in Alfresco are prefixed with "D:" (documents), "F:" (folders), "P:"
> (policies/aspects) and "R:" (relationships/associations).
> See the Alfresco CMIS Wiki page for details.
>
>
> Btw. Please ask Alfresco specific questions in the Alfresco CMIS forum.
> This is a Chemistry mailing list.
>
>
> Thanks,
>
> Florian
>
>
>
>
> On 08/03/2011 12:17, Sebastian Danninger wrote:
>
>> Isn't using Alfresco Tickets against the purpose of using CMIS? You are
>> bound to Alfresco as repository then and can't switch. If you want to mix
>> Alfresco Ticket and CMIS I can provide you a fully working code snippet
>> (email me if you need it) but from my understanding it would be better to
>> retrieve the object from the repository and deliver the content stream to
>> the user instead of pointing him to your alfresco repository.
>>
>> A question that is kinda related here is why I get a bad request on this:
>>
>> ObjectType type = session.getTypeDefinition("my:type");
>>
>> I also tried with fully qualified type name but neither of them is ending
>> up
>> in:
>>
>> CmisInvalidArgumentException: Bad Request
>>
>>
>> best regards
>>
>> Sebastian
>>
>> 2011/3/8 Florian Müller<fl...@alfresco.com>
>>
>>  Hi Mano,
>>>
>>> Yes, it is possible. But this is the wrong forum.
>>> I will send you a personal mail later.
>>>
>>> Cheers,
>>>
>>> Florian
>>>
>>>
>>>
>>> On 08/03/2011 08:07, Mano Swerts wrote:
>>>
>>>  Hi all,
>>>>
>>>> We are using OpenCMIS 0.2.0 together with Alfresco 3.4. We want to use
>>>> OpenCMIS in combination with an Alfresco authentication ticket. Is there
>>>> something available in CMIS to use tickets for authentication?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Kind regards,
>>>>
>>>> Mano Swerts
>>>>
>>>> _________________________________________________
>>>>
>>>>  We published a new company movie featuring YOU!
>>>>          See http://www.aca-it.be/movie
>>>> _________________________________________________
>>>>
>>>>
>>>
>>>
>>
>

Re: OpenCMIS 0.2.0 using a ticket for authentication

Posted by Florian Müller <fl...@alfresco.com>.
It kind of is against the purpose of using CMIS. But there are many 
motivations for using CMIS. If you want interoperability then Alfresco 
Tickets are not a good idea. If you use CMIS "only" as a nice interface 
to Alfresco then there might be some use cases.


Regarding your questions:
Types in Alfresco are prefixed with "D:" (documents), "F:" (folders), 
"P:" (policies/aspects) and "R:" (relationships/associations).
See the Alfresco CMIS Wiki page for details.


Btw. Please ask Alfresco specific questions in the Alfresco CMIS forum.
This is a Chemistry mailing list.


Thanks,

Florian



On 08/03/2011 12:17, Sebastian Danninger wrote:
> Isn't using Alfresco Tickets against the purpose of using CMIS? You are
> bound to Alfresco as repository then and can't switch. If you want to mix
> Alfresco Ticket and CMIS I can provide you a fully working code snippet
> (email me if you need it) but from my understanding it would be better to
> retrieve the object from the repository and deliver the content stream to
> the user instead of pointing him to your alfresco repository.
>
> A question that is kinda related here is why I get a bad request on this:
>
> ObjectType type = session.getTypeDefinition("my:type");
>
> I also tried with fully qualified type name but neither of them is ending up
> in:
>
> CmisInvalidArgumentException: Bad Request
>
>
> best regards
>
> Sebastian
>
> 2011/3/8 Florian Müller<fl...@alfresco.com>
>
>> Hi Mano,
>>
>> Yes, it is possible. But this is the wrong forum.
>> I will send you a personal mail later.
>>
>> Cheers,
>>
>> Florian
>>
>>
>>
>> On 08/03/2011 08:07, Mano Swerts wrote:
>>
>>> Hi all,
>>>
>>> We are using OpenCMIS 0.2.0 together with Alfresco 3.4. We want to use
>>> OpenCMIS in combination with an Alfresco authentication ticket. Is there
>>> something available in CMIS to use tickets for authentication?
>>>
>>> Thanks in advance.
>>>
>>> Kind regards,
>>>
>>> Mano Swerts
>>>
>>> _________________________________________________
>>>
>>>   We published a new company movie featuring YOU!
>>>           See http://www.aca-it.be/movie
>>> _________________________________________________
>>>
>>
>>
>


Re: OpenCMIS 0.2.0 using a ticket for authentication

Posted by Sebastian Danninger <se...@googlemail.com>.
Isn't using Alfresco Tickets against the purpose of using CMIS? You are
bound to Alfresco as repository then and can't switch. If you want to mix
Alfresco Ticket and CMIS I can provide you a fully working code snippet
(email me if you need it) but from my understanding it would be better to
retrieve the object from the repository and deliver the content stream to
the user instead of pointing him to your alfresco repository.

A question that is kinda related here is why I get a bad request on this:

ObjectType type = session.getTypeDefinition("my:type");

I also tried with fully qualified type name but neither of them is ending up
in:

CmisInvalidArgumentException: Bad Request


best regards

Sebastian

2011/3/8 Florian Müller <fl...@alfresco.com>

> Hi Mano,
>
> Yes, it is possible. But this is the wrong forum.
> I will send you a personal mail later.
>
> Cheers,
>
> Florian
>
>
>
> On 08/03/2011 08:07, Mano Swerts wrote:
>
>> Hi all,
>>
>> We are using OpenCMIS 0.2.0 together with Alfresco 3.4. We want to use
>> OpenCMIS in combination with an Alfresco authentication ticket. Is there
>> something available in CMIS to use tickets for authentication?
>>
>> Thanks in advance.
>>
>> Kind regards,
>>
>> Mano Swerts
>>
>> _________________________________________________
>>
>>  We published a new company movie featuring YOU!
>>          See http://www.aca-it.be/movie
>> _________________________________________________
>>
>
>

Re: OpenCMIS 0.2.0 using a ticket for authentication

Posted by Florian Müller <fl...@alfresco.com>.
Hi Mano,

Yes, it is possible. But this is the wrong forum.
I will send you a personal mail later.

Cheers,

Florian


On 08/03/2011 08:07, Mano Swerts wrote:
> Hi all,
>
> We are using OpenCMIS 0.2.0 together with Alfresco 3.4. We want to use OpenCMIS in combination with an Alfresco authentication ticket. Is there something available in CMIS to use tickets for authentication?
>
> Thanks in advance.
>
> Kind regards,
>
> Mano Swerts
>
> _________________________________________________
>
>   We published a new company movie featuring YOU!
>           See http://www.aca-it.be/movie
> _________________________________________________