Skip to content

Windows credential guard blocks using ticket-cache #239

@AlexanderMcLachlan

Description

@AlexanderMcLachlan

In current windows versions an activated "Credential Guard" blocks the java process from accessing the kerberos ticket in the user's ticket-cache, which leads to this error:

javax.security.auth.login.LoginException: Unable to obtain Principal Name for authentication
at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.promptForName(Krb5LoginModule.java:822)
at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:689)
at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:597)
at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:754)

Is there any known workaround for this problem (apart from deactivating the "Credential Guard")?

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