The LSC code throws an error:
Multiple Kerberos connections not supported (existing value: " + System.getProperty("java.security.krb5.conf") + "). Need to set another LSC instance or unset system property !"
if the property java.security.krb5.conf is set (if the authentication tag is set to GSSAPI), and the script stops.
This is annoying because later in the code this property is set:
System.setProperty("java.security.krb5.conf",
new File(Configuration.getConfigurationDirectory(), "krb5.ini").getAbsolutePath());
This has a side effect: the next LSC run will fail because the property has been set by the previous run...
We should unset the flag when we are down with the current script
The LSC code throws an error:
Multiple Kerberos connections not supported (existing value: " + System.getProperty("java.security.krb5.conf") + "). Need to set another LSC instance or unset system property !"if the property java.security.krb5.conf is set (if the authentication tag is set to GSSAPI), and the script stops.
This is annoying because later in the code this property is set:
This has a side effect: the next LSC run will fail because the property has been set by the previous run...
We should unset the flag when we are down with the current script