Immunity to adenovirus typically develops naturally following exposure to the virus. Upon infection, the body's immune system produces specific antibodies, establishing resistance against future encounters with the adenovirus.