spring-security-kerberos

How to pass windows authentication(browser) from react application to Spnego Kerberos Spring SSO?

时光总嘲笑我的痴心妄想 提交于 2019-12-31 05:27:09
问题 We have a react application which used get that data from spring boot webservice. Both is deployed in a same server(tomcat). But we only need Kerberos authentication for webservice call from the React application. Anyone can open the React application but when it navigate then it calls to the webservcie to get the data. So if we configure the spring to support spnego kerberos spring sso, is it possible that browser will automatically pass( from React app, as react run on the browser) the

GSSContext with null SrcName

给你一囗甜甜゛ 提交于 2019-12-29 07:01:30
问题 I'm working a web appliaction with SSO based on the Windows domain login, for this purpose I have chosen to validate Kerberos tickets. But now I'm facing a problem for which I can't find a solution. I manage to validate a ticket without exceptions, but when I'm trying to get the userName, NullPointerException is thrown, because the username is null and I don't know where is problem. Why is user name null if I don't get any exception during the validation? How I get userName: String clientName

Kerberos authentication not working with spring security

巧了我就是萌 提交于 2019-12-25 07:13:22
问题 We are working on Kerberos login authentication, It was working fine but now we are getting the below exception while hitting the URL and its not redirecting to the home page. Suggest some solution would be much appreciated. 10:44:20,145 ERROR [org.springframework.boot.context.web.ErrorPageFilter] (http-/127.0.0.1:6900-3) Cannot forward to error page for request as the response has already been committed. As a result, the response may have the wrong status code. If your application is running

Spring Boot + Ldap / AD + Kerberos SSO : KrbCryptoException - Checksum failed

孤街浪徒 提交于 2019-12-24 18:59:12
问题 I am trying to implement SSO with Spring Boot, Ldap and kerberos. Where I got multiple errors of Checksum fail for different encryption type. environment details:- Machine : Windows 10 JDK Version : Oracle 1.8.0_144 (64 bit) I appear to have hit a bit of a dead-end where I am not able to find any solution. Here is what error I get when run Added key: 17version: 5 Added key: 18version: 5 Added key: 23version: 5 Found unsupported keytype (3) for HTTP/host.test@EXAMPLE.COM Found unsupported

creating service principal for springsecurity kerberos in 2k8 server

浪子不回头ぞ 提交于 2019-12-24 01:01:36
问题 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 running where i deploy my application and I access it by http://localhost:8080/myapp Question What should be my service provider name? The article says: For this to work, every web applications needs to be registered at the Kerberos server and gets a

How to configure kerberos on Tomcat/linux server?

早过忘川 提交于 2019-12-23 00:46:26
问题 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 machine (windows) everything runs fine. But after deploying the app to a linux machine authentication is no longer working. I strongly suspect that something is wrong with my Kerberos configuration : [libdefaults] default_realm = INT.MYCOMPANY.DE

Kerberos spring javax.security.auth.login.LoginException: Unable to obtain password from user

∥☆過路亽.° 提交于 2019-12-22 06:46:37
问题 I am implementing kerberos Authentication in my existing java spring application.My unix team has provided me SPN, krb5.conf and keytab file. I am trying hard with below code and configuration but getting unable to obtain password from user exception as in attached logs below. Can anybody correct me If I am doing something wrong or what could be going wrong? Let me know if you need more information on this. It would be good if someone can tell, how to verify if kerberos configuration is

Kerberos error: GSSHeader did not find the right tag

喜你入骨 提交于 2019-12-18 20:11:28
问题 I’m trying to make Kerberos authentication connection to a SOAP service wsdl url. I’m able to establish connection successfully and make service calls. After I start my server, I’m able to make successful service call at least once. However after few requests (1 or more ), I suddenly get invalid token error. Once I get the error, future calls do not work and error persists. IF I restart my server, then again service call works at least once. And above cycle continues. I’m unable to figure out

Kerberos error: GSSHeader did not find the right tag

ⅰ亾dé卋堺 提交于 2019-12-18 20:11:27
问题 I’m trying to make Kerberos authentication connection to a SOAP service wsdl url. I’m able to establish connection successfully and make service calls. After I start my server, I’m able to make successful service call at least once. However after few requests (1 or more ), I suddenly get invalid token error. Once I get the error, future calls do not work and error persists. IF I restart my server, then again service call works at least once. And above cycle continues. I’m unable to figure out

Domain authentication with Kerberos fails

ぃ、小莉子 提交于 2019-12-13 18:25:50
问题 My app is using Grails, Spring, Kerberos. applicationContext.xml <beans ... <sec:http entry-point-ref="spnegoEntryPoint"> <sec:intercept-url pattern="/**" access="IS_AUTHENTICATED_FULLY" /> <sec:custom-filter ref="spnegoAuthenticationProcessingFilter" position="BASIC_AUTH_FILTER" /> </sec:http> <bean id="spnegoEntryPoint" class="org.springframework.security.kerberos.web.authentication.SpnegoEntryPoint" /> <bean id="spnegoAuthenticationProcessingFilter" class="org.springframework.security