ndeloof wants StandardCredentials
Here is the implementation of SmartCredentialsProvider that will do the fancy stuff