Bugzilla – Bug 1722
lifetime argument in createCredential method does not take effect
Last modified: 2005-12-05 17:10:42
You need to
before you can comment on or make changes to this bug.
I export an ExtendedGSSCredential with lifetime 5 hours to a byte array.
Then I use createCredential method to create a new GSSCredential with lifetime
1 hour (shown below). However, the lifetime of the newly created credential is
still 5 hours. Seems that the lifetime argument does not have any effect.
ExtendedGSSManager manager =(ExtendedGSSManager)ExtendedGSSManager.getInstance
The lifetime option is ignored and unsupported. The lifetime of the credential
is determined from the lifetime of all the certificates. I will update the
javadoc and code appropriately.
Fix committed to cvs. A lifetime set to GSSCredential.DEFAULT_LIFETIME is now
only allowed. Otherwise an error will be returned.