GSSCredential

Mark Rotteveel mark at lawinegevaar.nl
Tue Jun 4 17:16:11 UTC 2019


On 2019-06-04 16:24, pm at netcetera.ch wrote:
> On 28.05.19 20:54, Douglas Surber wrote:
>> We have received a request to add the following method to 
>> java.sql.ConnectionBuilder.
>> 
>>    /**
>>     * Provide a GSSCredential to authenticate the connection with the 
>> server.
>>     *
>>     * @param credential used to authenticate the connection. Not null.
>>     * @return this ConnectionBuilder
>>     * @throws SQLException if an error occurs.
>>     */
>>    ConnectionBuilder gssCredential(org.ietf.jgss.GSSCredential 
>> credential) throws SQLException;
>> 
>> Any thoughts?
> 
> As the JDK is fully modular now the java.sql module will now
> additionally require the java.security.jgss module. Anybody building a
> customized JDK with jlink with a direct or indirect dependency to
> java.sql will now have to package java.security.jgss as well.

That sounds like a good argument against this change.

Mark


More information about the jdbc-spec-discuss mailing list