Skip to main content

Questions tagged [spring-security-kerberos]

Kerberos support for Spring Security.

spring-security-kerberos
-1 votes
0 answers
38 views

NullPointerException while creating KerberosServiceRequestToken object from deserialized json

The Spring authorization server stores KerberosServiceRequestToken objects in the database. While storing the object serialization takes place and the serialized object gets stored in the table. But ...
chirag nathwani's user avatar
0 votes
0 answers
110 views

Kerberos checksum failed in Keycloak docker container

Struggling for days now regarding the setup of Kerberos in a Keycloak 24.x docker container. What I've done so far : Creating a custom image installing krb5-workstation in my image Mounting an ...
Arnaud F.'s user avatar
  • 8,392
0 votes
0 answers
204 views

Keycloak kerberos authentication error: cannot find key of appropriate type to decrypt AP-REQ - AES256 CTS mode with HMAC SHA1-96)

I'm trying to setup Keycloak SSO to my web-site using Kerberos authentication. I' using: Keycloak 23.04 on Centos 9 Windows based Active Directory I used this guide to set it up Kerberos ...
sorrysalmon's user avatar
0 votes
1 answer
347 views

Java 17 Allow RC4 HMAC while keeping allow_weak_crypto as false in krb5.conf

SSO has stopped working in our Spring App. since we upgraded to Java 17 with upgraded Spring libraries. I am getting following error during authentication which relates to the fact that Java 17 ...
user8373873's user avatar
0 votes
0 answers
52 views

Spring Security Kerberos / SPNEGO To Active Directory

I am trying to add SSO to Active Directory using Spring Security Kerberos Support (Spring Boot 2.7). I have deployed the sample (https://docs.spring.io/spring-security-kerberos/docs/1.0.1.RELEASE/...
Mike Rother's user avatar
0 votes
0 answers
120 views

Problems Configuring Spring Security Kerberos

I am trying to use Spring security kerberos to connect to Active Directory. I tried the following: java -Dsun.security.krb5.debug=true -Djava.security.krb5.conf=e:\temp\work\krb5.conf sun.security....
Mike Rother's user avatar
0 votes
0 answers
106 views

I encountered an issue in my project related to Kerberos authentication

I encountered an issue related to Kerberos authentication in my project. My code is as follows. private void kerberosAuthentication() throws IOException { String keyTabFIle = ""; ...
Ethan Lee's user avatar
0 votes
0 answers
72 views

How to use DaoAuthenticationProvider as a fallback for SSO with Kerberos/Spnego

My backend is a Spring Boot application and on the frontend I am using Angular. I want to achieve the following authentication process: Use SSO with the Windows credentials using Kerberos/Spnego Some ...
Steve2Fish's user avatar
0 votes
0 answers
84 views

Spring Security Kerberos - using Authentication from session to make Kerberized calls on behalf of user

I'm trying to implement REST services over LDAP directory. Both have Kerberos-protected access. I already have working code (based on Security Server Spnego and Form Auth Sample sample), which login ...
Artur Satarov's user avatar
1 vote
0 answers
99 views

How do I get the PAC SIDs from a SpnegoAuthenticationToken using Spring Security Kerberos 2.0?

Using kerb4j and Spring Security, I can get PAC SIDs from a SPNEGO token (allowing my app to determine which authorities are granted in Active Directory for a user): @Bean public ...
James's user avatar
  • 3,084
1 vote
2 answers
1k views

Kerberos to Front via REST Controller

Hi everyone, I'm trying to implement Kerberos for an application in Spring Boot + Vue.js currently using LDAP Authentication. I managed to set up everything correctly to get this sample working (full ...
Rospote's user avatar
  • 21
0 votes
1 answer
699 views

Kerb4j - How to get role name from SPNEGO Token?

I'm trying to get the role name from the SPNEGO token returned by Active Directory for use with Spring Security authorization. I'm using kerb4j to authenticate since my understanding is that it can ...
user8297969's user avatar
1 vote
2 answers
639 views

Why is SSO not working with Kerberos using Spring Security?

I'm running two sample web apps that are secured by Spring Security Kerberos. After logging into one, I expected the other app to not require login. Here are the details of my setup: On Ubuntu Linux, ...
James's user avatar
  • 3,084
0 votes
1 answer
312 views

How to specify the location of the Key Distribution Center to Spring Security Kerberos?

I'm running an instance of the Kerby (MIT Kerberos Java implementation) on a Linux machine. I have a web application running on a Windows machine. The web application is secured using Spring Security ...
James's user avatar
  • 3,084
0 votes
1 answer
872 views

How does browser know which KDC to contact in kerberos?

I am new to Kerberos and I am not sure how browser knows which KDC to contact for ticket for a HTTP service? For example, I have an application (SPNEGO) running on www.xyz.example.com and my realm is ...
Shivangi Bhardwaj's user avatar

15 30 50 per page
1
2 3 4 5
8