이 콘텐츠는 선택한 언어로 제공되지 않습니다.
18.4. Enable Kerberos authentication
For Kerberos authentication, if the user running the program is already authenticated, for example, if they are using
kinit
, there is no need to supply a user name or password. If you are using another form of authentication, or are not already authenticated with Kerberos, you can supply these as connection options:
connection.setOption("username", "mick"); connection.setOption("password", "pa$$word");
connection.setOption("username", "mick");
connection.setOption("password", "pa$$word");