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
2 answers

Blank page after user cancels basic authentication

I've googled a lot about the problem, but still did not find, why it is happening. When user cancels BASIC auth form in browser, blank page is appeared. 401 page is setup in Tomcat webapp, in Firebug i can see 401 Unauthorized. Maybe some header…
1
vote
0 answers

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 SpnegoAuthenticationProvider spnegoAuthenticationProvider() { …
James
  • 2,876
  • 18
  • 72
  • 116
1
vote
2 answers

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, I have installed Kerberos and configured per this…
James
  • 2,876
  • 18
  • 72
  • 116
1
vote
0 answers

Spark Standalone Security

I am trying to understand how can i restrict a user from submitting spark application apart from shared secret method in standalone mode. Can I use Kerberos based authentication in spark standlone cluster ? Considering the daemon processes will…
1
vote
0 answers

How to redirect to the simple authorization page in doFilter() (KerberosAuthFilter)?

There was a problem with redirecting to the ordinary authorization page (through the login and password form), if the user could not log in through Kerberos. In the doFilter() method of the KerberosAuthFilter class, I do a redirect if the header…
1
vote
1 answer

How to fix Keberos Authentication prompt while running Java application

I wrote a Java application to connect with hive-metastore. It works fine but when I run the jar file on Linux it asks for Kerberos Username and password . I already specified the Kerberos principal and keytab file in my code. And I don't want to…
1
vote
0 answers

No valid credentials provided when i use GenericJackson2JsonRedisSerializer

I'm trying to write an application using spring-kerberos-core and spring-data-redis. When i use JdkSerializationRedisSerializer, i get an error in second application java.lang.ClassNotFoundException: ru.demo.app2.CustomUser not found It's logical,…
1
vote
0 answers

Kerberos Authentication in OSI PI in Java

I am newbie in terms of Kerberos Authentication. I am able to login into access the API urls directly from browser by providing username and password.I check in Event Viewer by enabling debug logs and it gave me following output: [PIWebAPI]…
Arshanvit
  • 417
  • 1
  • 7
  • 28
1
vote
1 answer

How to implement single sign-on using kerberos authentication in azure active directory

Using Azure Active Directory When i am applying single sign on for my web application i am able to do the Password-based single sign-on successfully. But when i am doing with Integrated Windows Authentication(for kerberos authentication mainly), i…
1
vote
0 answers

Spring security Kerberos file upload over 2MB fails with Connection Reset

I have a spring security kerberos setup with keytab file. I get a connection reset error when a file upload operation is done. It happens only if file size is greater than 2MB. When spring security is turned off, I can upload files greater than…
Yasser
  • 575
  • 1
  • 4
  • 19
1
vote
0 answers

kerberos ticket decoding returns not correct username

I'm struggling with this issue, and every spare time I have I'm looking into this. We have a SSO working, and for 99% of the users there is no problem. But, when a username(SAMAccountName) contains accents, we have a problem. The Kerberos ticket is…
chillworld
  • 4,207
  • 3
  • 23
  • 50
1
vote
2 answers

Integrate Windows Authentication spring security

Tried waffle working successfully as needed in windows environment but my application server is hosted on *nix environment. So waffle solutions doesn't meet my requirement. Tried kerberos solutions quite difficult to configure as compared to…
1
vote
1 answer

Windows Authentication Using Spring MVC + Angular JS

Using Angular JS for my front-end and Spring MVC for web services. Based on SOA architecture, front end and back end are loosely coupled. I want to use Windows Authentication to login in the web application without asking any username and password…
1
vote
0 answers

kerberos kinit gives java.lang.NullPointerException on Windows server 12

When I run kinit command on windows server 2012 it gives null pointer error. please give me any solution. D:\Junk_Folder>kinit user Password for user@DOMAIN.COM: Exception: java.lang.NullPointerException java.lang.NullPointerException at…
1
vote
0 answers

Kerberos Authentication. Defective token detected

I developing a web application with kerberos (v1.0.1) authentication. My aim is to provide a login through the windows authentication Active Directory (Windows Server 2008 R2). The problem is that the browser send to the Back End NTLM ticket instead…