Windows services authentication using Kerberos from Java program on linux -


hie everyone, struggling problem of authentication few days now. work on web app on tomcat7/java7/linux , need access windows ssrs server app.

when run code on windows machine, work fine, authentication done windows , use:

inputstream pdfinstream = new bufferedinputstream(pdfurl.openstream(), buffersize); 

on linux server, use kerberos through gss-api javax.security.auth.login.logincontext , able authenticate against kerberos server: logincontext .login() works fine.

and stuck here, windows authentication in java suggest deprecated tool, oracle documentation kept me days without getting point, spnego (http://spnego.sourceforge.net/) doesn't seem address 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 apache: http://hc.apache.org/

hie everyone!

i solved problem using different mean. authenticated client using ntlm (but kerberos possible library) if run on linux machine. possible apache httpcomponents library.

if have same problem, recommend stop by:

http://hc.apache.org/httpcomponents-client-4.3.x/tutorial/html/authentication.html#ntlm .

see ya!


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -