DB2 10.5 for Linux, UNIX, and Windows

Security plug-in samples

UNIX and Linux directories: The 'C' samples are located in sqllib/samples/security/plugins and the JCC GSS-API plugin samples (.java) are located in sqllib/samples/java/jdbc

Windows directory: The 'C' samples are located in sqllib\samples\security\plugins and the JCC GSS-API plugin samples (.java) are located in sqllib\samples\java\jdbc

Table 1. Security plug-in sample program files
Sample program name Program description
combined.c Combined user ID and password authentication and group lookup sample
duaconfigschema.ldif Used to ITDS LDAP server when a HP-UX system wants to connect to the LDAP server.
group_file.c Simple file-based group management plug-in sample
gssapi_simple.c Basic GSS-API authentication plug-in sample (both client and server)
IBMLDAPauthclient.c Implements a client side DB2® security plugin that interacts with an LDAP user registry
IBMLDAPauthserver.c Implements a server side DB2 security plugin that interacts with an LDAP user registry
IBMLDAPconfig.c Contains functions related to finding and parsing the configuration file for a DB2 LDAP security plugin
IBMLDAPgroups.c Implements a DB2 security plugin for LDAP-based group lookup
IBMLDAPutils.c Contains utility functions used in the DB2 LDAP security plugin
IBMLDAPutils.h LDAP security plugin header file
JCCKerberosPlugin.java Implements a GSS-API Plugin that does Kerberos authentication using IBM® DB2 Universal Driver
JCCKerberosPluginTest.java Uses JCCKerberosPlugin to get a DB2 Connection using IBM DB2 Universal Driver.
JCCSimpleGSSPlugin.java Implements a GSS-API Plugin that does userid and password checking using IBM DB2 Universal Driver.
JCCSimpleGSSContext.java Implements a GSSContext to be used by JCCSimpleGSSPlugin
JCCSimpleGSSCredential.java Implements a GSSCredential to be used by JCCSimpleGSSPlugin
JCCSimpleGSSException.java Implements a GSSException to be used by JCCSimpleGSSPlugin
JCCSimpleGSSName.java Implements a GSSName to be used by JCCSimpleGSSPlugin
JCCSimpleGSSPluginTest.java Uses JCCSimpleGSSPlugin to get a DB2 Connection using IBM DB2 Universal Driver.