Default Password credential implementation. Provides the same mechanism as J2EE javax.resource.spi.security.PasswordCredential.
javax.resource.spi.security.PasswordCredential
Code borrowed from the Geronimo project.