Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to use windows authentication while creating a jdbc in server.xml

sanket nayak May 21, 2015

Hi, 

can you please tell me how to use windows authentication while creating jdbc in server.xml.

 

Regards

Sanket

2 answers

0 votes
sanket nayak May 26, 2015

Mike,

 

I already tried that but that's not working for me.

 

Sanket

0 votes
Mike Rathwell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2015

Sanket,

The only place I've run into this is for a SQL server jdbc datasource behind tomcat (not the Confluence DB which is PostgreSQL; SQL Server is another I have behind Confluence for other purposes). The "username" and "password" values didn't seem to take. I had to bake it into the url:

 url="jdbc:jtds:sqlserver://hostname:<port>;domain=<domain>;user=<username>;password=<password>"

Even if you have another DB that has its auth via AD, the same syntax may work. Hope it helps

mike

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events