Class 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
    • Field Detail

      • User

        public 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 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 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