JAAS implementation of credential fetching/validation (via the configuration section named by loginContext).
JAAS implementation of credential fetching/validation (via the configuration section named by loginContext). If a principal or OID is provided, it is used to override the settings in the JAAS configuration file.
Since the authentication operations may block when i.e. talking to a KDC, these potentially blocking calls are wrapped in a FuturePool.