spring-security-kerberos

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

喜夏-厌秋 提交于 2019-11-30 18:20:36
I'm trying to setup SSO for Java WebApp using Kerberos/SpNego. I'm using: Java 1.7u67 org.springframework.security.kerberos 1.0.0.RELEASE Active Directory Tomcat 7 on Linux After overcoming the problem discribed in How to configure kerberos on Tomcat/linux server? , I'm now stuck with the following error: org.springframework.security.authentication.BadCredentialsException: Kerberos validation not succesful at org.springframework.security.kerberos.authentication.sun.SunJaasKerberosTicketValidator.validateTicket(SunJaasKerberosTicketValidator.java:70) ~[spring-security-kerberos-core-1.0.0

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

大兔子大兔子 提交于 2019-11-30 01:26:04
问题 I'm trying to setup SSO for Java WebApp using Kerberos/SpNego. I'm using: Java 1.7u67 org.springframework.security.kerberos 1.0.0.RELEASE Active Directory Tomcat 7 on Linux After overcoming the problem discribed in How to configure kerberos on Tomcat/linux server?, I'm now stuck with the following error: org.springframework.security.authentication.BadCredentialsException: Kerberos validation not succesful at org.springframework.security.kerberos.authentication.sun

GSSContext with null SrcName

好久不见. 提交于 2019-11-29 10:55:23
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 = gssContext.getSrcName().toString(); I create my client based on this: Using GSSManager to validate a

GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)

时光毁灭记忆、已成空白 提交于 2019-11-29 04:08:10
I am very much new to the MOngoDB + Java Configuration. I am trying to achive the connection from remote mongodb server from Java application. I want to use GSSAPI mechanism for connection with mongotemplate. Below code has been executing successfully. Below code is from my configuration file. List<ServerAddress> serverAddresses = new ArrayList<ServerAddress>(); ServerAddress address = new ServerAddress(host, port); serverAddresses.add(address); List<MongoCredential> credentials = new ArrayList<MongoCredential>(); MongoCredential credential = MongoCredential.createGSSAPICredential(userName);

GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)

廉价感情. 提交于 2019-11-27 18:05:34
问题 I am very much new to the MOngoDB + Java Configuration. I am trying to achive the connection from remote mongodb server from Java application. I want to use GSSAPI mechanism for connection with mongotemplate. Below code has been executing successfully. Below code is from my configuration file. List<ServerAddress> serverAddresses = new ArrayList<ServerAddress>(); ServerAddress address = new ServerAddress(host, port); serverAddresses.add(address); List<MongoCredential> credentials = new