+xns/Certification
Message: Authorize

+xns/Core/XNSObject
   |
   +--+xns/Core/Message
         |
         +--+xns/Certification/Authorize


Authorizes a message to run. A message (the provided message) is included as an input parameter in this message (the authorize message). The identity receiving the authorize message grants or denies authorization to run the provided message. If the provided message is authorized, it will be returned along with an authorization certificate testifying that this identity authorized the message to run. When the provided message is sent, the to-identity of the provided message will use this information to help it decide if it allows the message to run. If the to-identity of the provided message is the same as the to-identity of the authorize message, it is likely that the provided message will pass authorization when run. Because of changes that may occur between execution of the authorize message and sending the provided message, there is no guarantee that the provided message will run even if authorized.


 

Output
+xns/Core/Message Message Message to authorize.
 

Exceptions
AuthDenied Authorization attempt failed; reason is supplied in the text of the exception.
 

Output Detail

Message

Message to authorize. Upon successful return, this message will contain an authorization certificate.  

DataType: +xns/Core/Message
 


Publishing Identity: +xns
© 2002 XNSORG
Last Updated: 07/09/2002