AnsweredAssumed Answered

Configure activiti to use kerberos

Question asked by per.berge on Feb 10, 2014
Latest reply on Feb 11, 2014 by trademak
In both activiti-rest and activiti-explorer there are settings to configure activiti to use a database.
I've changed it to using the oracle driver and it works fine with a sql users.
In activiti I've deployed a process which runs service tasks which use hibernate and logs in to the same database using kerberos.
<property name="">KERBEROS5</property>
<property name="">true</property>
How would I go about it to use a specified kerberos user to access the oracle database for activiti-rest or activiti-explorer?
I've tried specifying simply specifying username and password directly in file which gives :
(ORA-01017: invalid username/password; logon denied)
I would expect I need to specify some of the oracle connection properties in java using properties for specifying f.i krb5_realm, krb5_kdc and so on:

Is it possible to simply add or replace the necessary properties in the following section from activiti-context.xml:
    <property name="" value="" />
    <property name="" value="c:/oracle/krb5/krb5.conf" />

    <property name="driverClassName" value="${jdbc.driver}" />
    <property name="url" value="${jdbc.url}" />
    <property name="username" value="${jdbc.username}" />
    <property name="password" value="${jdbc.username}" />

Another alternative is for activiti to use the logged on user on the webserver, in my situation it's using tomcat7.

Anyone have any ideas for which direction to go in to resolve this issue?