# US 2022/0284032 A1 · System and method for smart database driver

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0284032 A1
- Document ID: US20220284032A1
- Status: Published application
- Kind: A1
- Application number: 17/190,744
- Filed: 2021-03-03
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: JPMorgan Chase Bank, N.A.
- Applicants: JPMorgan Chase Bank, N.A.
- Inventors: Kumar RAO KRISHNAGI; Matthew J. PORTER; Nalini S. BODA; Vijay Kumar PERLA; Laxman DONGISHARAPU; Srikanth MALIREDDY
- Web page: https://patentgrep.com/patent/US20220284032A1

## CPC

- G06F 16/252: {between a Database Management System and a front-end application}
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 16/9566: {URL specific, e.g. using aliases, detecting broken or misspelled links}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/3213: {using tickets or tokens, e.g. Kerberos (network architectures or network communication protocols for entities authentication using tickets in a packet data network H04L63/0807)}
- H04L 9/40: Network security protocols
- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Various methods, apparatuses/systems, and media for implementing a smart database driver are disclosed. A receiver receives a request for establishing a connection between an application and a target database. A processor, operatively coupled to the receiver via a communication network, authenticates the application by implementing a java authentication authorization service (jaas). Authentication of the application is performed at runtime with connection properties and configuration details provided via system properties or environment variables. The processor also generates a database connection uniform resource locator (URL), validates the URL; and establishes a connection between the application and the target database based on the validation of the URL and successful authentication of the application.

## Claims

### Claim 1

A method for implementing a smart database driver by utilizing one or more processors and one or more memories, the method comprising:
receiving a request for establishing a connection between an application and a target database;
authenticating the application by implementing a java authentication authorization service (jaas), wherein authentication of the application is performed at runtime with connection properties and configuration details provided via system properties or environment variables;
generating a database connection uniform resource locator (URL);
validating the URL; and
establishing a connection between the application and the target database based on the validation of the URL and successful authentication of the application.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the application is independent of underlying authentication mechanism.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
creating a jaas configuration file that contains Kerberos login module to connect to the target database; and
implementing a credential cache from the Kerberos login module configuration to acquire a ticket granting ticket (TGT) to authenticate the application.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
implementing a keytab file that contains a secret key; and
implementing the secret key to authenticate the application.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
removing username and password based authentication; and
implementing Kerberos authentication.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
creating an abstract Kerberos driver class that implements a java.sql.driver interface and
implementing a connect method included in the java.sql.driver interface to authenticate the application and establish the connection between the application and the target database.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising:
creating a Kerberos Oracle driver class that extends the abstract Kerberos driver class and overrides the connect method for enforcing Kerberos connectivity for Oracle database connections.

### Claim 8 (depends on 6)

The method according to claim 6, further comprising:
creating a Kerberos DB2 driver class that extends the abstract Kerberos driver class and overrides the connect method for enforcing Kerberos connectivity for DB2 database connections.

### Claim 9

A system for implementing a smart database driver, the system comprising:
a receiver for receiving a request for establishing a connection between an application and a target database; and
a processor operatively coupled to the receiver via a communication network, wherein the processor is configured to:
authenticate the application by implementing a java authentication authorization service (jaas), wherein authentication of the application is performed at runtime with connection properties and configuration details provided via system properties or environment variables;
generate a database connection uniform resource locator (URL);
validate the URL; and
establish a connection between the application and the target database based on the validation of the URL and successful authentication of the application.

### Claim 10 (depends on 9)

The system according to claim 9, wherein the application is independent of underlying authentication mechanism.

### Claim 11 (depends on 9)

The system according to claim 9, wherein the processor is further configured to:
create a jaas configuration file that contains Kerberos login module to connect to the target database; and
implement a credential cache from the Kerberos login module configuration to acquire a ticket granting ticket (TGT) to authenticate the application.

### Claim 12 (depends on 9)

The system according to claim 9, wherein the processor is further configured to:
implement a keytab file that contains a secret key; and
implement the secret key to authenticate the application.

### Claim 13 (depends on 9)

The system according to claim 9, wherein the processor is further configured to:
remove username and password based authentication; and
implement Kerberos authentication.

### Claim 14 (depends on 9)

The system according to claim 9, wherein the processor is further configured to:
create an abstract Kerberos driver class that implements a java.sql.driver interface and
implement a connect method included in the java.sql.driver interface to authenticate the application and establish the connection between the application and the target database.

### Claim 15 (depends on 14)

The system according to claim 14, wherein the processor is further configured to:
create a Kerberos Oracle driver class that extends the abstract Kerberos driver class and overrides the connect method for enforcing Kerberos connectivity for Oracle database connections.

### Claim 16 (depends on 14)

The system according to claim 14, wherein the processor is further configured to:
creating a Kerberos DB2 driver class that extends the abstract Kerberos driver class and overrides the connect method for enforcing Kerberos connectivity for DB2 database connections.

### Claim 17

A non-transitory computer readable medium configured to store instructions for implementing a smart database driver, wherein, when executed, the instructions cause a processor to perform the following:
causing a receiver to receive a request for establishing a connection between an application and a target database;
authenticating the application by implementing a java authentication authorization service (jaas), wherein authentication of the application is performed at runtime with connection properties and configuration details provided via system properties or environment variables;
generating a database connection uniform resource locator (URL);
validating the URL; and
establishing a connection between the application and the target database based on the validation of the URL and successful authentication of the application.

### Claim 18 (depends on 17)

The non-transitory computer readable medium according to claim 17, wherein, when executed, the instructions further cause the processor to perform the following:
creating a jaas configuration file that contains Kerberos login module to connect to the target database; and
implementing a credential cache from the Kerberos login module configuration to acquire a ticket granting ticket (TGT) to authenticate the application.

### Claim 19 (depends on 17)

The non-transitory computer readable medium according to claim 17, wherein, when executed, the instructions further cause the processor to perform the following:
removing username and password based authentication; and
implementing Kerberos authentication.

### Claim 20 (depends on 17)

The non-transitory computer readable medium according to claim 17, wherein, when executed, the instructions further cause the processor to perform the following:
creating an abstract Kerberos driver class that implements a java.sql.driver interface and
implementing a connect method included in the java.sql.driver interface to authenticate the application and establish the connection between the application and the target database.
