Skip to content

Update the MAX_TOKEN_SIZE in Sspi.java to 48000 #1396

@JStroom

Description

@JStroom

We ran into an issue with Windows authentication, that was caused by the Sspi.MAX_TOKEN_SIZE being too small for our current Windows version. We are using JNA 5.9.0.

According to the article below the default MAX_TOKEN_SIZE has been updated from 12.000 to 48.000 in recent windows version (Windows 11).
I want to propose to update the MAX_TOKEN_SIZE in jna to 48.000.

https://docs.microsoft.com/en-us/troubleshoot/windows-server/windows-security/kerberos-authentication-problems-if-user-belongs-to-groups#calculating-the-maximum-token-size

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions