Class HardCodedSecretCallbackHandler

  • All Implemented Interfaces:
    SecretCallbackHandler

    public class HardCodedSecretCallbackHandler
    extends AbstractSecretCallbackHandler
    Hard-coded passwords as secrets .This is just a demonstration example and need to be adopted as user requirements. In the production environment, this may be 'close sourced' - only provided a binary contains implementation class. Then, it is needed to use de- compilers to see password.