Here's a map to illustrate the dicussion
http://www.san.org/airport/terminals/terminal_maps.asp
In T1 you cannot get from the AS/UA gates to the WN gates without going back through security - the 2 airside sections are separate.
In T2, all of the airside areas are linked, so you can get from the AA gates to the DL/CO gates.