Mobile Ad Hoc Network (MANET), a self-configuring infrastructure less network of mobile devices connected by wireless superimposes a way for the partially connected MANET called the Intermittently Connected Mobile Ad Hoc Network (ICMANET). Routing in MANET is done by traditional network routing schemes and these are not applicable to ICMANET. ICMANET is a form of Delay Tolerant Network (DTN), where there never exists a complete end-to-end path between two nodes that intends to communicate. Routing in such a spasmodic environ is achieved by many techniques and one of the optimal technique is the spray and wait routing. The routing involves a spraying phase, in which certain copies are sprayed into the network and it involves waiting phase, in which a node waits until it finds the destination to deliver the message copy. Even though routing is proved to be possible in ICMANET, secure communication in such networks still remains an issue. In this study, the technique of secure routing in ICMANET using spray and wait routing protocol by setting agents at each node is explored. Setting Agents ensures a higher probability of security in ICMANET.