Patent ID: 7461248

Claim:
A method, comprising: detecting a roaming of the mobile terminal; identifying a combination of network elements involved in the detected roaming; selecting one of a plurality of authentication and authorization procedures to be performed based on the identified combination, wherein a home network has an authentication and authorization home server, wherein a foreign network has a plurality of domains each of which comprises at least one local server configured to authenticate, authorize, and account, and wherein each of the local servers is operationally connected to at least one network access server configured to handle access for mobile terminals roaming to or in the foreign network; and performing an authentication and authorization based on the selected one of a plurality of authentication and authorization procedures, wherein the method, upon attaching of the mobile terminal to the foreign network, further comprises allocating a temporary local identity to the mobile terminal by the local server, in the domain of which the mobile terminal first attaches to the foreign network; defining and generating a local security information representing a binding of a user identity of the mobile terminal and the allocated temporary local identity by the local server; and allocating the local security information to the mobile terminal by the local server, wherein the performing reuses the allocated local security information to authenticate and authorize in each of said plurality of domains.