WARNING: This page is about a different car, the 2006 Subaru Impreza. However, it is still accessible from the selected car via links, so may be relevant.
EBJ+PTJ type
Fig 1: Exploded View Of Front Axle Shaft (EBJ+PTJ Type) With Torque Specifications
Courtesy of SUBARU OF AMERICA, INC.
BJ+DOJ type
Fig 2: Exploded View Of Front Axle Shaft (BJ+DOJ Type) With Torque Specifications