You could just call both both Adam's Needle since it's a pretty generic name.
Both appear to maybe be a type of filamentosa, but like Kent said yuccas are one of those plants that even experts disagree on...
Edit: Just to clarify - Some experts call flaccida a type of filamentosa, some call it a separate species.