Patent ID: 8726339

Claim:
An apparatus comprising: a memory operable to: store a plurality of token-based rules, wherein a token-based rule facilitates access to a resource; and store a plurality of tokens, wherein: the plurality of tokens includes a session token; and the session token is associated with access to the resource by a user; and a processor communicatively coupled to the memory and operable to: receive a first token indicating that an emergency has been declared, wherein the emergency is associated with the user; determine, based at least in part upon at least one token-based rule from the plurality of token-based rules, that access to the resource should be terminated in response to receiving the first token; and terminate the session token in response to the determination that access to the resource should be terminated; determine at least one of that there is insufficient capacity to handle the emergency and that there is insufficient processing power to handle the emergency; receive a second token indicating that the emergency has been resolved; determine, based at least in part upon the second token and the at least one token-based rule, that access to the resource should be reestablished.