Hie everyone, I am struggling with a problem of authentication for a few days now. I work on a web app on tomcat7/java7/linux and I need to access a Windows SSRS server from this app.
When I run the code on my windows machine, everything work just fine, authentication is done by Windows and I just use:
InputStream pdfInStream = new BufferedInputStream(pdfUrl.openStream(), bufferSize);
On the linux server, I use Kerberos through GSS-API javax.security.auth.login.LoginContext and I am able to authenticate against the Kerberos server: LoginContext .login() works just fine.
And now I am stuck here, Windows authentication in Java suggest a deprecated tool, Oracle documentation kept me days without getting to the point, SPNEGO (http://spnego.sourceforge.net/) doesn't seem to address my problem.
Thanks in advance!
Refs:
Oracle documentation:
docs.oracle.com/javase/7/docs/technotes/guides/security/jgss/tutorials/BasicClientServer.html
docs.oracle.com/javase/7/docs/technotes/guides/security/jgss/tutorials/ClientServer.html
docs.oracle.com/javase/7/docs/technotes/guides/security/jgss/tutorials/AcnAndAzn.html
HTTP tools from apache: http://hc.apache.org/