Sample Applications

The two commented code samples available in the jConnect-7_0/sample2 directory illustrate how to establish a Kerberos connection to Adaptive Server Enterprise.

  • ConnectKerberos.java – a simple Kerberos login to Adaptive Server Enterprise.

  • ConnectKerberosJAAS.java – a more detailed sample showing how a Kerberos login might be implemented within application-server code.