Hello,

I have a headache after pouring over the 'howto' and other posts in the forums trying 
to figure out how to correctly configure our Swing client to pass along login 
information to JBoss. I am almost there and need someone's help. I keep getting a 
'invalid arguments in call' sql exception when I try to connect.

Here is the current environment - does this look like a correct configuration? TIA.

Swing client uses org.jboss.security.jndi.LoginInitialContextFactory

Swing client auth.conf

  | pacificDS {org.jboss.security.ClientLoginModule required;}; 
  | other {org.jboss.security.ClientLoginModule required;}; 
  | 

JBoss auth.conf

  | pacificDS {org.jboss.security.ClientLoginModule required;}; 
  | 

Oracle Datasource copied from docs/examples, but added

  | <security-domain>pacificDS</security-domain> 
  | 

JBoss login-config.xml entry for JAAS realm

  | <application-policy name = "pacificDS">
  |        <authentication>
  |           <login-module code = 
"org.jboss.resource.security.CallerIdentityLoginModule"
  |              flag = "required">
  |              <!--module-option name = "principal"></module-option-->
  |              <module-option name = "userName">oracle</module-option>
  |              <module-option name = "password">oracle</module-option>
  |              <module-option name = 
"managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=jdbc/PacificCarillonDS</module-option>
  |           </login-module>
  |        </authentication>
  |     </application-policy>
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845491#3845491

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845491


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to