final ObjectValidityContext validateContext = specification.createValidityInteractionContext(getAuthenticationSessionProvider().getAuthenticationSession(), InteractionInvocationMethod.BY_USER, adapter);
validate(validateContext);
return adapter;
} catch (final NumberFormatException e) {
throw new TextEntryParseException(e.getMessage(), e);
} catch (final IllegalFormatException e) {
throw new TextEntryParseException(e.getMessage(), e);
} catch (final ParsingException e) {
throw new TextEntryParseException(e.getMessage(), e);
}
}