jna
27 posts · All topics
- — WAFFLE 1.5 Released
- — JNA 3.5.0 Released
- — Waffle @ NYJavaSIG
Waffle is a native C# and Java library that does everything Windows authentication (Negotiate, NTLM and Kerberos), on Windows - https://github.com/dblock/waffle/.
- — Waffle 1.4 Released
- — JNA is now a Githubber
- — JNA: Getting currently logged-in user's groups
A Waffle user is asking how to get the groups for a currently logged-in user. You don’t need Waffle to do this, just JNA. The 3.2.7 release has an Advapi32Util class that implem...
- — JNA: Coming back to Life on Kenai (and a word on Github)
You might have heard about the massive controversy about Hudson’s move to Github. I could have stirred a big storm in a cup for the Java Native Access (JNA) project, but instead...
- — Waffle: Single Sign-On User Impersonation in Tomcat
- — JNA: Building JNA on Windows 64-bit
Let’s build JNA on a Windows AMD 64. I am always confused about which Cygwin packages I actually need to do that. Every time I get it wrong. So this is what you need beyond the ...
- — Waffle + JNA under Tomcat 5.5 Security Manager
I struggled with this one. Here’s how to get JNA and Waffle to work under a Java security manager. In my case I have a Tomcat 5.5 which is launched with -security. Here’s the co...
- — log4jna: The description for Event ID 4096 from source log4jna cannot be found.
This is a pretty common problem with NTEventLogAppender (both log4j and log4jna versions) and generally with firing events to the Windows event log. The events are properly fire...
- — log4jna: log4j:ERROR Could not register event source (Access is denied.)
This is a pretty common problem with NTEventLogAppender (both log4j and log4jna versions) on Windows Vista, 7 or 2008.
- — JNA: Reading Windows Event Log entries in Java
- — Log4jna: getting rid of the pesky NTEventLogAppender.dll
Are you using log4j’s NTEventLogAppender to send events to the Windows event log? Then you’re familiar with NTEventLogAppender.dll that one must place in the Windows system dire...
- — Waffle 1.3 Released
- — Introducing Oshi: Operating System and Hardware Information (Java)
- — Tomcat Single Sign-On mixed with Form Authentication w/ Waffle
- — Windows/Active Directory Authentication: Tomcat + JAAS w/ Waffle
- — Java Native Access (JNA) 3.2.5 Shipped
3.2.5 shipped quietly last week.
- — Pure Java Waffle
- — JNA: Working with Unions
The Grey Rat
- — JNA: pointers to arrays of pointers
I recently had a few drinks too many with my coworkers at the Russian Vodka Room and took the subway home. It’s a thirty minute ride during which I tried to implement EnumerateS...
- — JNA: AcquireCredentialsHandle, InitializeSecurityContext and AcceptSecurityContext - Establishing an Authenticated Connection
I’ve been working on porting WAFFLE to Java/ JNA. As usual I have modest and practical goals with that project: to provide a working example for everything InitializeSecurityCon...
- — JNA: accessing Windows registry from Java
Some things should just be easy. I’ve committed a bunch of registry utility functions into JNA’s platform.jar, all with unit tests. You don’t have to break your head with Win32 ...
- — JNA: Win32 platform API implementation
Lately I’ve been working on a native Java implementation of Waffle and contributing an increasing amount of code to the java.net JNA project. Waffle has several goals that provi...
- — JNA: Advapi32, Netapi32 and Secur32
I made a code commit to JNA today. Yes, I am committing Java code to an LGPL project on java.net. Please don’t hate me. I don’t want to be dodging stones, so I’ll be sticking to...
- — Win32 PInvoke with JNA
One of the main reasons I never liked JAVA is because of it’s cross-platform philosophy. The idea is that everything needs to be so generic and portable, that you can’t get anyt...
