jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From waseemfa <fazal.was...@gmail.com>
Subject Issue with kerberos
Date Wed, 21 Oct 2015 07:07:23 GMT
Hi,

Not sure where I am going wrong here.  I have a HTTP Authorization Manager
with the following details

Username : Test
Password : Pass
Domain : Test
Realm : Test.com
Mechanism : Kerberos

and have configured the krb5.conf and jass.conf file as per the domain
requirements.  I get the following error while trying to authenticate a user

/2015/10/21 12:26:28 WARN  - jmeter.protocol.http.control.KerberosManager:
Execution of getting subject for Test failed
java.util.concurrent.ExecutionException: java.lang.SecurityException:
java.io.IOException: Configuration Error:
	Line 10: expected [controlFlag]
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at
org.apache.jmeter.protocol.http.control.KerberosManager.getSubjectForUser(KerberosManager.java:92)
	at
org.apache.jmeter.protocol.http.control.AuthManager.getSubjectForUrl(AuthManager.java:278)
	at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:501)
	at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:330)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1144)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1133)
	at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.SecurityException: java.io.IOException: Configuration
Error:
	Line 10: expected [controlFlag]
	at sun.security.provider.ConfigFile$Spi.<init>(ConfigFile.java:137)
	at sun.security.provider.ConfigFile.<init>(ConfigFile.java:102)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at java.lang.Class.newInstance(Class.java:442)
	at javax.security.auth.login.Configuration$2.run(Configuration.java:255)
	at javax.security.auth.login.Configuration$2.run(Configuration.java:247)
	at java.security.AccessController.doPrivileged(Native Method)
	at
javax.security.auth.login.Configuration.getConfiguration(Configuration.java:246)
	at javax.security.auth.login.LoginContext$1.run(LoginContext.java:245)
	at javax.security.auth.login.LoginContext$1.run(LoginContext.java:243)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
	at javax.security.auth.login.LoginContext.<init>(LoginContext.java:417)
	at
org.apache.jmeter.protocol.http.control.KerberosManager$1.call(KerberosManager.java:71)
	at
org.apache.jmeter.protocol.http.control.KerberosManager$1.call(KerberosManager.java:65)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at
org.apache.jmeter.protocol.http.control.KerberosManager.getSubjectForUser(KerberosManager.java:89)
	... 9 more
Caused by: java.io.IOException: Configuration Error:
	Line 10: expected [controlFlag]
	at sun.security.provider.ConfigFile$Spi.ioException(ConfigFile.java:666)
	at sun.security.provider.ConfigFile$Spi.match(ConfigFile.java:572)
	at
sun.security.provider.ConfigFile$Spi.parseLoginEntry(ConfigFile.java:454)
	at sun.security.provider.ConfigFile$Spi.readConfig(ConfigFile.java:427)
	at sun.security.provider.ConfigFile$Spi.init(ConfigFile.java:329)
	at sun.security.provider.ConfigFile$Spi.init(ConfigFile.java:271)
	at sun.security.provider.ConfigFile$Spi.<init>(ConfigFile.java:135)
	... 28 more/

Can someone help me out here.  Thanks in advance.

-Waseem




--
View this message in context: http://jmeter.512774.n5.nabble.com/Issue-with-kerberos-tp5723361.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message