Benjamin Glaze -- the ex-"American Idol" wannabe who kissed Katy Perry on the show -- was slapped with a 25-year prison stint after his recent child porn conviction ... and newly revealed release conditions are so wild, they’ll be sure to raise his own eyebrows … though nothing else below the belt.

TMZ got the court docs, and they spell it out clearly ... after grinding through 15 years behind bars, he’s gotta strap in -- literally -- 'cause his 10-year suspended sentence comes with a wild list of hoops, including a penile plethysmograph test ... a device that tracks arousal while he’s shown everything from PG-rated content to flat-out filth. Tulsa Police Department

On top of enrolling in a sex offender program, he’s also gotta take the Abel Screen -- a test that times ho

See Full Page