Skip navigation links
JNA API 5.10.0
com.sun.jna.platform.win32

Class Sspi.SEC_WINNT_AUTH_IDENTITY

  • Enclosing interface:
    Sspi


    @Structure.FieldOrder(value={"User","UserLength","Domain","DomainLength","Password","PasswordLength","Flags"})
    public static class Sspi.SEC_WINNT_AUTH_IDENTITY
    extends Structure
    • Field Detail

      • User

        public java.lang.String User
        A string that contains the user name.
      • UserLength

        public int UserLength
        The length, in characters, of the user string, not including the terminating null character.
      • Domain

        public java.lang.String Domain
        A string that contains the domain name or the workgroup name.
      • DomainLength

        public int DomainLength
        The length, in characters, of the domain string, not including the terminating null character.
      • Password

        public java.lang.String Password
        A 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.
      • PasswordLength

        public int PasswordLength
        The length, in characters, of the password string, not including the terminating null character.
      • Flags

        public int Flags
        This member can be one of the following values.
        ValueMeaning
        SEC_WINNT_AUTH_IDENTITY_ANSIThe strings in this structure are in ANSI format.
        SEC_WINNT_AUTH_IDENTITY_UNICODEThe strings in this structure are in Unicode format.
        As the string encoding is managed by JNA do not change this value!
    • Constructor Detail

      • SEC_WINNT_AUTH_IDENTITY

        public SEC_WINNT_AUTH_IDENTITY()
        Create a new SecBufferDesc with one SECBUFFER_EMPTY buffer.
    • Method Detail

      • write

        public void write()
        Description copied from class: Structure
        Writes the fields of the struct to native memory
        Overrides:
        write in class Structure
JNA API 5.10.0

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.