Package com.sun.jna.platform.win32
Class Sspi.SEC_WINNT_AUTH_IDENTITY
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Sspi.SEC_WINNT_AUTH_IDENTITY
- Enclosing interface:
- Sspi
@FieldOrder({"User","UserLength","Domain","DomainLength","Password","PasswordLength","Flags"})
public static class Sspi.SEC_WINNT_AUTH_IDENTITY
extends Structure
- 
Nested Class SummaryNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionA string that contains the domain name or the workgroup name.intThe length, in characters, of the domain string, not including the terminating null character.intThis member can be one of the following values.A string that contains the password of the user in the domain or workgroup.intThe length, in characters, of the password string, not including the terminating null character.A string that contains the user name.intThe length, in characters, of the user string, not including the terminating null character.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a new SecBufferDesc with one SECBUFFER_EMPTY buffer.
- 
Method SummaryMethods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, writeField, writeField, writeField
- 
Field Details- 
UserA string that contains the user name.
- 
UserLengthpublic int UserLengthThe length, in characters, of the user string, not including the terminating null character.
- 
DomainA string that contains the domain name or the workgroup name.
- 
DomainLengthpublic int DomainLengthThe length, in characters, of the domain string, not including the terminating null character.
- 
PasswordA string that contains the password of the user in the domain or workgroup. When you have finished using the password, remove the sensitive information from memory by calling SecureZeroMemory. For more information about protecting the password, see Handling Passwords.
- 
PasswordLengthpublic int PasswordLengthThe length, in characters, of the password string, not including the terminating null character.
- 
Flagspublic int FlagsThis member can be one of the following values.
 As the string encoding is managed by JNA do not change this value!Value Meaning SEC_WINNT_AUTH_IDENTITY_ANSI The strings in this structure are in ANSI format. SEC_WINNT_AUTH_IDENTITY_UNICODE The strings in this structure are in Unicode format. 
 
- 
- 
Constructor Details- 
SEC_WINNT_AUTH_IDENTITYpublic SEC_WINNT_AUTH_IDENTITY()Create a new SecBufferDesc with one SECBUFFER_EMPTY buffer.
 
- 
- 
Method Details