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
2
votes
1 answer

Kerberos AD Spnego authentication fails on one machine but not on another

I've got a problem with Kerberos authentication. I have a dockerised REST webapp which runs nicely on one AWS host. I have just tried running it on a new host and I get java.security.GeneralSecurityException: Checksum failed at…
Adam
  • 5,215
  • 5
  • 51
  • 90
2
votes
1 answer

Deep linking doesn’t work in secured NiFi

Sub: Deep linking doesn’t work in secured NiFi I have configured NiFi with Kerberos authentication. When I open deep link to access a processor group, it redirects to login page for authentication but after successful login, it navigates to root URL…
mathes
  • 333
  • 1
  • 8
2
votes
1 answer

Spring security kerberos works with xml config but not with Java config

I tried the examples of spring security kerberos in with xml config then with java config. It's exactly the same config (one in xml, one in java). When I use the project with xml config, it works. However, when I use the project with java config, I…
rachelle
  • 91
  • 1
  • 6
2
votes
0 answers

Spring Security Kerberos - Cannot find key of appropriate type to decrypt AP REP - RC4 with HMAC

I have the following error after configurating spring- kerberos Caused by: java.security.PrivilegedActionException: GSSException: Failure unspecified at GSS-API level (Mechanism level: Invalid argument (400) - Cannot find key of appropriate type to…
Luca Chiesa
  • 21
  • 1
  • 4
2
votes
1 answer

How to configure groups in Jboss EAP for Kerberos implementation?

I have configured my application with Kerberos authentication for a specific user in jboss-eap and it's working fine. But wants to configure the same on the basis of the group i.e users in a specific group will able to authenticate. Standalone.xml…
2
votes
0 answers

Compiling Spring Kerberos samples with gradle wrapper - KerberosRestTemplateTests error

I am trying to build/compile Spring Kerberos Spnego samples project i.e. the one from here. https://github.com/spring-projects/spring-security-kerberos I do use Gradle wrapper to build the project, however i get an error when building i.e. the build…
Tito
  • 2,234
  • 6
  • 31
  • 65
2
votes
0 answers

How to connect to MS SQL using integrated security from Linux in Spring boot?

I know that there is a way using kerberos to connect to MS SQL Server. But I have not been able to find a good description on how to configure everything from Kereberos to the properties file's url. Does anyone have a good example that could teach…
Keyhan
  • 2,370
  • 2
  • 19
  • 22
2
votes
2 answers

Forward SPNEGO Credentials to Secure Cluster

I have a cluster secured by Kerberos, and have a REST API that needs to interact with the cluster on behalf of the user. I have used Spring Security with SPNEGO to authenticate the user, but when I try to use the Hadoop SDK, it fails for various…
Benny
  • 3,899
  • 8
  • 46
  • 81
2
votes
1 answer

How to use cached ticket with KerberosRestTemplate?

I want to implement integration test for my spring security kerberos authentication. There is KerberosRestTemplate (reference) for this purpose. KerberosRestTemplate has got a default constructor with description "Leave keyTabLocation and…
2
votes
1 answer

Generate MS AD keytab for spring-security-kerberos-client

I try to test my in-ms-domain application. App server has deployed successful. Both, kerberos and username/password, authentication works well. But when i add 'test' (there are some reason why it's controller) using 'KerberosRestTemplate' with…
2
votes
2 answers

Spring Security Kerberos, Kerberos + AD - Error: Access Denied, No key to store

This is from Kerberos sample app found at https://github.com/spring-projects/spring-security-kerberos/tree/master/spring-security-kerberos-samples/sec-server-win-auth corresponding to…
mugua
  • 224
  • 1
  • 3
  • 11
2
votes
2 answers

How to configure kerberos on Tomcat/linux server?

I'm trying to setup kerberos authentication in a Java web-app running in a Tomcat on Linux. I'm using the spring security kerberos extension. I'm using: jdk 1.7u75 spring-security-kerberos 1.0.0.RELEASE MS Active Directory On my local development…
Gunnar Kiesel
  • 783
  • 1
  • 8
  • 21
2
votes
0 answers

Spnego Kerberos Spring SSO

I am trying to implement SPNEGO Kerberos based SSO. Below is the link from which I tried to implement it. Form based SSO is working fine. But when I try to implement using SPNEGO I get the below error Try to validate Kerberos Token Negotiate Header…
2
votes
3 answers

Logout functionality in SSO spring kerberos

I am using kerberos/spnego(KerberosServiceAuthenticationProvider) authentication with spring security to authenticate users from Active directory services performing Single Sign On. I am able to authenticate the user and access the application. I…
niksvp
  • 5,545
  • 2
  • 24
  • 41
2
votes
1 answer

creating service principal for springsecurity kerberos in 2k8 server

I'm following this post http://blog.springsource.com/2009/09/28/spring-security-kerberos/ to set up a service principal on a local server which i'll be using to test the spring security integration with active directory. The server has tomcat…