I'm new to CAS and I'm trying to use jdbc query authentication running on 
JBOSS 8.0.

In gradle.properties I have set the appServer entry to blank since I'll be 
using an external servlet container.
appServer=

and in the build.gradle I specify I need jdbc support.
implementation "org.apereo.cas:cas-server-support-jdbc"

In my cas.properties, I have specified the driver class and the datasource 
name to be used from the standalone.xml datasource details in JBOSS. I've 
also specified the cas.authn.jdbc.query[0].sql and fields.

cas.authn.jdbc.query[0].driver-class=oracle.jdbc.driver.OracleDriver

cas.authn.jdbc.query[0].data-source-name=jdbc/ivrsadminDS

The problem is that the CAS war is built with an oracle JDBC driver, which 
is not needed....but more importantly the JBOSS server cannot index this 
driver..and fails to deploy the war.   

So my two part question is, ...when configuring for an external server when 
a server datasource is specified , should a db driver be bundled in the 
WAR, and if it is by default, is there a way to exclude the oracle jdbc 
driver from the war file when specifying jdbc support? 

Thanks!



-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/000b2374-99ad-4462-a47d-a7c407e515e9n%40apereo.org.

Reply via email to