To be clear to everyone, this will only work with 24v passive POE.
For POE type B, the kind used by ubiquity and other injectors you need to connect pins 3, 4 with 4 being (+) to ether the barrel or the Phoenix jack.
Refer to the schematics on the last page for why it works.
-Thomas