Map<String, Object> config,
WSSSecurityProperties properties
) {
Object passwordEncryptorObj =
config.get(ConfigurationConstants.PASSWORD_ENCRYPTOR_INSTANCE);
PasswordEncryptor passwordEncryptor = null;
if (passwordEncryptorObj instanceof PasswordEncryptor) {
passwordEncryptor = (PasswordEncryptor)passwordEncryptorObj;
}
if (passwordEncryptor == null) {
CallbackHandler callbackHandler = properties.getCallbackHandler();