- Code: Select all
System.setProperty("java.security.auth.login.config", jgssConfigFile);
The file contents is:
- Code: Select all
com.sun.security.jgss.accept {
com.sun.security.auth.module.Krb5LoginModule required
debug=true
useKeyTab=true
storeKey=true
keyTab=test2.keytab
principal="HTTP/iis.mycomapny.local@MYCOMPANY.LOCAL"
isInitiator=false;
};
But I'm facing some problems with Zend Java Bridge... Once config was applied, it becomes global and it's not possible to reload it until system restart. Even if I delete config file, the previous settings still remain for all next method calls.
It seems to me that this behavior is caused by Zend Java Bridge design (all code is executed within single Java Machine).
Is it any possibility to force new system property on every execution?

