Class Password

java.lang.Object
jakarta.security.enterprise.credential.Password

public class Password extends Object
Represents a text-based password, and includes a built-in mechanism for securely clearing the value.