Jon French's spot-kick handed victory to Kenny Brown's side after the match finished in a 2-2 draw after extra time. It also meant Barry, who secured the league title last month and the Welsh League Cup earlier in the season, claimed the treble for a third successive year - an unprecedented achievement.
But Barry, who will go into the first qualifying round of the UEFA Champions League, had to come from behind to defeat Cwmbran. A late Lee Jenkins equaliser rescued Brown's men after the underdogs had taken a 2-1 lead with first-half goals from Jason Welsh and Adam Moore. Barry scored first through Tom Ramasut.
Meanwhile, this weekend sees the start of the Four Nations Tournament involving the best players from the Welsh Premiership, English Conference, Scottish Highland League and Irish Premier Division. The competition will take place in Merthyr Tydfil, Carmarthen and Haverfordwest.
The Wales team, to be managed by Carmarthen Town AFC's Tomi Morgan, will include Barry defenders Lee Jarman and Gary Lloyd as well as former Welsh senior internationals Tony Roberts - now with Dagenham and Redbridge FC in England - and Bangor City FC's ex-Manchester United FC winger Simon Davies.
Meanwhile, Welsh national coach Mark Hughes is to revise his squad for the friendly international against the United States in San Jose on 26 May. Hughes originally named a pool of 29 players for the match, but that is set to be reduced with doubts over John Hartson, Robbie Savage, Gary Speed and Ryan Giggs.
Definitely out are Cardiff City FC's Danny Gabbidon, Robert Earnshaw and Rhys Weston, plus Nathan Blake of Wolverhampton Wanderers FC, who are all involved in English league play-off games.
©UEFA.com 1998-2017. All rights reserved.