@groovy.transform.CompileStatic class SimplePasswordCredentials
Simple memory-based implementation of password credentials. Not the most secure, but I don;t think the interface lends itself to be secure.
String
password
username
class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
Groovy Documentation