jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: Issue with kerberos
Date Wed, 21 Oct 2015 07:53:56 GMT


Am 21. Oktober 2015 09:07:23 MESZ, schrieb waseemfa <fazal.waseem@gmail.com>:
>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]
...
>Caused by: java.lang.SecurityException: java.io.IOException:
>Configuration
>Error:
>	Line 10: expected [controlFlag]
>	at sun.security.provider.ConfigFile$Spi.<init>(ConfigFile.java:137)

Can you show us your jaas.conf? You probably have a semicolon where it is not allowed. 

Regards, 
Felix 

>	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


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


Mime
View raw message