aivaldi
aivaldi

Reputation: 67

Windows Integrated Security with Tomcat

I'm have the next scenario on my enviroment

Now in a Spring Controller I need to acces to a site, this site is configured with Integrated Security. So what I want is to access to this site using the same credentials that is running the tomcat account. So I'm beleave thath I need to access to this credentials and pass it to a http client.

Thanks.

Upvotes: 1

Views: 1229

Answers (1)

Dan Hardiker
Dan Hardiker

Reputation: 3053

There's a number of ways you can integrate a Java application into an Active Directory / Windows Authentication system:

I would start by understanding the Kerberos and NTLM authentication systems (and which apply to your environment) and reading up on the documentation: http://docs.oracle.com/javase/6/docs/technotes/guides/net/http-auth.html

Given you are using Spring already, I would strongly consider using Spring Security, which has NTLM support: http://blog.mediasoft.be/ntlm-with-spring-security-20/

Upvotes: 0

Related Questions