apache chemistry cmis cas sso alfresco 3.4d

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2012 11:42 AM
Hi,
I am trying the following integration Alfresco 3.4d + opencmis 0.6.0 + cas (yasig), Alfresco + opencims works fine but now I have alfresco with cas and I can´t retrieve user password, only ticket granted.
has anyone tried to get cmis session through cas server? it´s possible?
i have tried
BindingType.ATOMPUB
default/AUTH_SOAP_USERNAMETOKEN/AUTH_HTTP_BASIC
LOGIN null/""/login
PASSWORD "TGT-6-M7DEdRwpk0GON6ZDPM1FIgg5sjLI6ZgRHZCJ64ygcWMCGQT1wZ-cas" (CAS generated ticket)
Error
org.apache.chemistry.opencmis.commons.exceptions.CmisUnauthorizedException: Not Authorized
BindingType.WEBSERVICES
default/AUTH_HTTP_BASIC
LOGIN null/""/login
PASSWORD "TGT-6-M7DEdRwpk0GON6ZDPM1FIgg5sjLI6ZgRHZCJ64ygcWMCGQT1wZ-cas" (CAS generated ticket)
javax.xml.ws.soap.SOAPFaultException: An error was discovered processing the <wsse
ecurity> header
when login ""
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Error: illegal null input —> expects null or "login"
Thanks.
I am trying the following integration Alfresco 3.4d + opencmis 0.6.0 + cas (yasig), Alfresco + opencims works fine but now I have alfresco with cas and I can´t retrieve user password, only ticket granted.
has anyone tried to get cmis session through cas server? it´s possible?
i have tried
BindingType.ATOMPUB
default/AUTH_SOAP_USERNAMETOKEN/AUTH_HTTP_BASIC
LOGIN null/""/login
PASSWORD "TGT-6-M7DEdRwpk0GON6ZDPM1FIgg5sjLI6ZgRHZCJ64ygcWMCGQT1wZ-cas" (CAS generated ticket)
Error
org.apache.chemistry.opencmis.commons.exceptions.CmisUnauthorizedException: Not Authorized
BindingType.WEBSERVICES
default/AUTH_HTTP_BASIC
LOGIN null/""/login
PASSWORD "TGT-6-M7DEdRwpk0GON6ZDPM1FIgg5sjLI6ZgRHZCJ64ygcWMCGQT1wZ-cas" (CAS generated ticket)
javax.xml.ws.soap.SOAPFaultException: An error was discovered processing the <wsse

when login ""
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Error: illegal null input —> expects null or "login"
Thanks.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2012 08:47 PM
Because CMIS doesn't mandate any specific authentication method or methods, Apache Chemistry's OpenCMIS Java library [1] has an extension mechanism by which different authentication schemes can be configured in [2]. So the question really becomes "is a CAS authentication plugin for OpenCMIS available?" - something that's probably best asked of both the Apache Chemistry and CAS projects.
As of late last year, Apache Chemistry did not have a CAS client plugin (in fact they only supported the most simple of authentication mechanisms out of the box at that time), but I don't know whether they have plans to support other authentication schemes (such as CAS) in the future.
I also have some experience implementing a custom OpenCMIS authenticator (as part of the Jive Toolkit [3]), and it's not very difficult. That may be the path of least resistance? If you do do this, it might be worth mentioning that to the Apache Chemistry project team as well - it would be great to have this kind of support baked into OpenCMIS!
Cheers,
Peter
[1] http://chemistry.apache.org/java/opencmis.html
[2] http://chemistry.apache.org/java/developing/client/dev-client-bindings.html#OpenCMISClientBindings-C...
[3] http://blogs.alfresco.com/wp/pmonks/2011/03/29/technical-overview-of-the-alfresco-jive-toolkit/
As of late last year, Apache Chemistry did not have a CAS client plugin (in fact they only supported the most simple of authentication mechanisms out of the box at that time), but I don't know whether they have plans to support other authentication schemes (such as CAS) in the future.
I also have some experience implementing a custom OpenCMIS authenticator (as part of the Jive Toolkit [3]), and it's not very difficult. That may be the path of least resistance? If you do do this, it might be worth mentioning that to the Apache Chemistry project team as well - it would be great to have this kind of support baked into OpenCMIS!
Cheers,
Peter
[1] http://chemistry.apache.org/java/opencmis.html
[2] http://chemistry.apache.org/java/developing/client/dev-client-bindings.html#OpenCMISClientBindings-C...
[3] http://blogs.alfresco.com/wp/pmonks/2011/03/29/technical-overview-of-the-alfresco-jive-toolkit/
