Questions tagged [spring-security-kerberos]

Kerberos support for Spring Security.

Spring Security Kerberos - Kerberos support for Spring Security.

Spring Security is a popular, highly customizable authentication and authorization framework for Java/Java EE and is a de-facto standard for securing Spring-based applications. As a Java based security solution, it is mostly applicable for the Java-based web applications that are built upon Spring Security framework. The Spring Security framework can authenticate with any social or enterprise identity provider. The most popular and secure enterprise identity provider for Spring Security framework is Kerberos.

Official Website: http://static.springsource.org/spring-security/site/extensions/krb/

Useful Links:

Related Tags:

117 questions
0
votes
2 answers

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 tutorial here) on a remote server with a…
Rospote
  • 11
  • 3
0
votes
1 answer

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 get group (i.e. role) information from the token…
0
votes
1 answer

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 Kerberos (following the steps described in this…
James
  • 2,876
  • 18
  • 72
  • 116
0
votes
1 answer

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 example.com ( I have a linux server as KDC…
0
votes
1 answer

MiniKdc not available from org.springframework.security.kerberos.test.MiniKdc

I am trying to use "MiniKdc" in my code implementation like "MiniKdc.main(config)" but am getting error "can not resolve symbol 'MiniKdc' ". I am following this example https://www.baeldung.com/spring-security-kerberos-integration i have added this…
Tinyiko Chauke
  • 365
  • 2
  • 14
0
votes
1 answer

How can I get Kerberos SSO for spring to work behind a load balancer across multiple domains?

We have an application which is SSO enabled and run into the below url https://abcd.test.com, now we have created a new application which is spring kerberos enabled(with keytab file) and has a different url (https://xyz.test.com). Now We will put a…
0
votes
1 answer

Kerberos client - kerberoRestTemplate not working

Im trying to consume an api which is authenticating with Kerberos. I have referred the below spring documentation related to KerberosRestTemplate.reference link, im passing the correct keytab file and the userPrincipal values as mentioned in the…
0
votes
1 answer

Problem with kerberos iis authentication in spring boot application on windows

i'a trying to deploy my jar spring boot application on windows but get error : [Krb5LoginModule] authentication failed KrbException: Cannot locate default realm In my localhost, everything is OK with the authentication but whene i deploy the jar in…
0
votes
1 answer

Single sign on using Spring

In an enterprise applications, how to seamless sign in to application without login page by reading the windows AD credentials using Spring boot and React. Ex: if i login to my desktop using organisation AD credentials, can my spring boot react…
0
votes
1 answer

SSO - another application user wants to access my application

I have two applications called like app1 and app2. both apps have there own users separately. Now suppose user with user-name usr1 from app1 logged into app1. Now he want to access app2 without logging into app2. My clients are not interested to…
0
votes
1 answer

Spring boot mvc ldap authentication with Active Directory

Hi I have a spring mvc rest services and I want to establish security system with active directory. My Scenario, User login its pc and make a call over explorer or postman something like that. My rest service understand current credential and check…
0
votes
0 answers

Do Spring security support Windows Active directory

My application is based upon NTLM authentication which uses Windows Active Directory authentication. We are moving to Windows 10 and have to move on to some better authentication based on name + domain name. Can I go ahead with Spring security? Or…
0
votes
0 answers

Unable to connect spring boot with Secured Kerberos using jdbc template

i am trying to connect kerberos cluster with springboot and facing some issue - here if my code - package com.virginvoyages.nbx.phoenix.jdbc.config; import java.io.IOException; import java.util.Properties; import javax.sql.DataSource; import…
0
votes
0 answers

Kerberos POST request returns 401 error with Java

I'm using KerberosTemplate to make a POST request to a kerberos authenticated rest API. I can successfully run an insecure request on the command line but when I try to do a secure call with HTTP client It returns a 401 unauthorized error. I tried…
0
votes
0 answers

Spnego Kerberos Spring SSO showing Kerberos validation not successful

My WebSecurityConfiguration class as follows- package com.subhajit.configuration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import…