Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6876927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:32:19+00:00 2026-05-27T04:32:19+00:00

I have installed DB2 Express C 9.7.4 edition. I am establishing DB2 Connection using

  • 0

I have installed DB2 Express C 9.7.4 edition.

I am establishing DB2 Connection using JAVA language.

But I have to still provide user name and password of my windows Login account for establishing connection…

Is it necessary to mention it ?

Is there any way out that can establish connection without specifying user name/password as during installation we have skipped the page.

Thanks in advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:32:20+00:00Added an answer on May 27, 2026 at 4:32 am

    When an application runs on the same machine as the database server, DB2 will make the assumption that the userID that started the application has already been authenticated by the operating system – so no additional authentication is necessary. This is referred to as impicit authentication.

    So, without making changes to the default DB2 database configuration, you can do this if the following conditions are met:

    1. The java application must be running on the same machine as the DB2 database

    2. Your application must use a JDBC Type 2 connection (JDBC URL should look like jdbc:db2:database – not jdbc://localhost:50000/database).

    3. The userID executing the Java application has authority to connect to the DB2 database, query the appropriate tables, etc.

    It is possible to allow implicit authentication for applications running on machines other than the database server, but this requries setting up trusted contexts or opening a big security hole (changing the AUTHENTICATION database configuration parameter).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed: Visual C# 2008 Express Visual Web Developer 2008 Express Visual Studio
I have installed VisualStudio Express C# in my box. Now I going to install
We have installed OpenDataKit (ODK) Aggregate and we are using a MySQL Database. I
I have installed C++SDK that have Qt but when I try compiling a code
I have installed new site in Joomla 1.7 and its working fine, but when
I have installed wxWidgets 2.9.3 on Ubuntu 10.10 using ../configure --with-gtk I am using
I have a shared library which containts implementation(language C) of some utility db2 procedures
I have installed 1.1.9 Yii framework.Then I made copy paste user module in my
I have installed tomcat 6 and 7 to the port 8080. I am using
I have a db2 database file, but do not have a db2 server. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.