From OpenSimulator

Revision as of 11:50, 11 September 2009 by Robsmart (Talk | contribs)

Jump to: navigation, search

The Authorization service is currently just a skeleton to be later expanded, however in grid mode it can be used to communicate an external authorization service.


To point your region at an external Authorization service edit the file


add a section such as the following, altering the URI to point to your authorization server

   ; change this to your grid-wide authorization server
   AuthorizationServerURI = "http://localhost/auth.php"

Message Formats

When a user attempts to enter a region an HTTP POST will be made to the AuthorizationServerURI you specified in the config. The body of the POST will be an XML serialized AuthorizationRequest object.


   <?xml version="1.0" encoding="utf-8"?>
   <AuthorizationRequest xmlns:xsi="" xmlns:xsd="">
       <RegionName>test region</RegionName>

The authorization service needs to respond with an XML message that matches an XML serialized AuthorizationResponse object.


   <?xml version="1.0" encoding="utf-8"?>
   <AuthorizationResponse xmlns:xsi="" xmlns:xsd="">
       <Message>Rob Smart has been authorized for the region test region.</Message>

The IsAuthorized element must contain either the string true or the string false. The Message element can contain any string, at the moment this message will only be shown on the OpenSim region console.

Personal tools
About This Wiki