[Ikvm-developers] IKVMC and JAAS Help Needed
Brought to you by:
jfrijters
From: Rick K. S. <rsh...@ec...> - 2010-07-28 14:56:01
|
Hello, I am having an issue making a JAAS call from .NET. Here's situation: I have successfully created a .NET assembly using IKVMC and am able to write code against it. The issue comes when I try to make a JAAS call. I am receiving the following error when I call UserContext.createSubject: javax.security.auth.login.LoginException: unable to find LoginModule class: com.filenet.api.util.WSILoginModule VB.NET SOURCE CODE java.lang.System.setProperty("java.security.auth.login.config", wsiConfigpath) Dim conn As com.filenet.api.core.Connection = Factory.Connection.getConnection(lstrAppEngineUrl) Dim subject As javax.security.auth.Subject = UserContext.createSubject(conn, lstrUserId, lstrPwd, "FileNetP8WSI") UserContext.get().pushSubject(subject) I know that com.filenet.api.util.WSILoginModule exists in a jar file called Jace.jar. I'm not sure if this is a CLASSPATH issue or what. Can anyone help? Thanks |