GSSCredential
Lance Andersen
lance.andersen at oracle.com
Tue May 28 19:11:30 UTC 2019
> On May 28, 2019, at 2:54 PM, Douglas Surber <douglas.surber at oracle.com> 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;
This would need to be added to the other ConnectionBuilder Methods as well
This would need to be
default ConnectionBuilder gssCredential (org.ietf.jgss.GSSCredential credential) throws SQLException.
The default method would probably need to throw a SQLFeatureNotSupportedException. Not sure if the cause would be set to a GSSException(FAILURE)?
>
> Any thoughts?
>
> Douglas
<http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
More information about the jdbc-spec-discuss
mailing list