i try to make a webapplication that (at first) only wants to know clientís username.
The Client is always a NT based machine and i use WLS6.1 SP5 on UNIX or local
on NT(test). The webapplication ist very simple, only some jsp and servlets. I
try to use the NTLoginModule form sunís modul package, but i donít get any principals
from the Subject. It might be only a wrong server configuration, but i donít find
any example use this modul on WLS too.

I try to use jaas from servlet:

....
property = new Properties(System.getProperties());
property.put("weblogic.security.jaas.Policy",
ďc:\\bea\\wlserver6.1\\samples\\examples\\security \\jaas\\Sample.conf");

System.setProperties(property);


loginContext = new LoginContext("NTPolicy");

loginContext.login();

....

Sample.conf:
NTPolicy
{
com.sun.security.auth.module.NTLoginModule required dubug=false;
};


The Exception is:

<04.09.2003 18:01:31 CEST> <[WebAppServletContext(4917686,NueWebApplication,/NueWebApp
lication)] Servlet failed with Exception
java.lang.UnsatisfiedLinkError: no nt in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1344)
at java.lang.Runtime.loadLibrary0(Runtime.java:744)
at java.lang.System.loadLibrary(System.java:815)
at com.sun.security.auth.module.NTSystem.loadNative(N TSystem.java:171)
at com.sun.security.auth.module.NTSystem.(NTSystem.java:40)
at com.sun.security.auth.module.NTLoginModule.login(N TLoginModule.java:119)
at javax.security.auth.login.LoginContext.login(Login Context.java:163)
at de.dpits.smr.nue.web.AuthServlet.doLogin(AuthServl et.java:88)
at de.dpits.smr.nue.web.AuthServlet.doGet(AuthServlet .java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:198)
at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(WebAppServletContext.java:2678)
at weblogic.servlet.internal.ServletRequestImpl.execu te(ServletRequestImpl.java:2412)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:140)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:121)
>


java.library.path included path c:\winnt and c:\winnt\system32
What is this searching for?

Thanks for help!