i´m having a simple question. is it possible to use the alfresco webservice api with kerberos authentication? if it is possible, please can someone post an example or explain it to me?! we are using alfresco 3.2 community.
As Alfresco supports username / password based authentication with a Kerberos back end, you should be able to run any of the Web Service samples with the Kerberos subsystem configured. Just set
authentication.chain=kerberos1:kerberos
in alfresco-global.properties
and configure other properties according to the guide here
thanks for your quick answer. First it´s fine to hear that. Short info…we have set up succesfully kerberos support for "normal" alfresco authentication in an AD. HTTP login works, cifs login works. Everything is fine. But when we try to develop a simple jaas-application to use the webservice-api with kerberos support it doesn´t work. We would be truly grateful if someone or especially you dward can post me some help…
We are trying to connect to the alfresco webservice-api via kerberos-authentication-support. We are using jaas for the kerberoslogin, but we don't know, how we have to create an alfresco session without entering a username and password. Here is our sourcecode…
You can't connect to the alfresco server without a username and password. You need to provide a username and password, just as in the other webservice samples. The username and password will be checked against the kerberos back end.
Your web service client doesn't need a jaas.conf or any special start parameters.