Top Description Inners Constructors Methods
com.sun.jna.platform.win32

public abstract Class Secur32Util

extends Object
Class Inheritance
Imports
java.util.ArrayList, com.sun.jna.Native, com.sun.jna.platform.win32.Sspi.PSecPkgInfo, .Sspi.SecPkgInfo, com.sun.jna.ptr.IntByReference

Secur32 Utility API.
Author
dblock[at]dblock.org

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Secur32Util.SecurityPackage[]

Returns:

An array of SSPI security packages.
getSecurityPackages
()

Get the security packages installed on the current computer.

public static String

Returns:

User name in a given format.
getUserNameEx
(int
User name format.
format
)

Retrieves the name of the user or other security principal associated with the calling thread.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Secur32Utilback to summary
public Secur32Util()

Method Detail

getSecurityPackagesback to summary
public static Secur32Util.SecurityPackage[] getSecurityPackages()

Get the security packages installed on the current computer.

Returns:Secur32Util.SecurityPackage[]

An array of SSPI security packages.

getUserNameExback to summary
public static String getUserNameEx(int format)

Retrieves the name of the user or other security principal associated with the calling thread.

Parameters
format:int

User name format.

Returns:String

User name in a given format.

com.sun.jna.platform.win32 back to summary

public Class Secur32Util.SecurityPackage

extends Object
Class Inheritance

An SSPI package.

Field Summary

Modifier and TypeField and Description
public String
comment

Package comment.

public String
name

Package name.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

commentback to summary
public String comment

Package comment.

nameback to summary
public String name

Package name.

Constructor Detail

SecurityPackageback to summary
public SecurityPackage()