As with JDK7 (1.7.0_55), the JAAS Krb5LoginModule provides no way to request a renewable TGT during authentication, so this is currently not possible in JAAS. You could achieve this, but you would need to use the Kerberos inner classes directly, bypassing JAAS.
Inside Krb5LoginModule creates an instance of sun.security.krb5.KrbAsReqBuilder to retrieve credentials using either the provided password or keyTab. KrbAsReqBuilder has a setOptions(KDCOptions options) method, but this is not called in the input module. If it could be accessed, you could call KDCOptions#set(KDCOptions.RENEWABLE, true) , and I expected the return ticket to be renewed if KDC is configured to allow renewable tickets.
source share