Interface MaskedValue

  • All Superinterfaces:
    javax.security.auth.Destroyable
    All Known Implementing Classes:
    MaskedPassword

    public interface MaskedValue
    extends javax.security.auth.Destroyable
    A value which should be masked before logging. For example: password. The method Object.toString() should return masked value.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getSourceValue()
      Get source value.
      • Methods inherited from interface javax.security.auth.Destroyable

        destroy, isDestroyed
    • Method Detail

      • getSourceValue

        java.lang.String getSourceValue()
        Get source value.
        Returns:
        Returns source value