Avatar

Level 1
Flex data services authenticate against tomcats default realm
with users in tomcat-users.xml, but when i switch to JDBCRealm
authentication stops working. I do see that Tomcat itself is
authenticating correctly that is it passes login dialog, but no
data is returned from the data services.



Authentication type in use is BASIC



context.xml

<Context path="/aaa">

<Transaction
factory="org.objectweb.jotm.UserTransactionFactory"
jotm.timeout="60"/>

<Realm

className="org.apache.catalina.realm.JDBCRealm"

driverName="oracle.jdbc.driver.OracleDriver"

...>

<Valve
className="flex.messaging.security.TomcatValve"/>

</Context>



If Realm part is removed from Context everything goes fine,
except that I want my users in DB not in tomcat-users.xml



Any ideas?