UsernamePasswordCallbackHandler class

A simple implementation of callback handler that supports simple username/password authentications.

Syntax

public class UsernamePasswordCallbackHandler

Remarks

For security reasons, this implementation will automatically clear the password by default after the first authentication attempt. This may be bypassed by modifying the allowMultipleAuthentications flag in the complete constructor.