[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: $self$do
OX implemented self-modification as $self$doIf we think of some other snazzier keyword later, we can probably change the implementation.
I like $self$do because of it seems parallel to $public$do - Mike ---------- Forwarded message ---------- Date: Tue, 27 Dec 2011 11:07:09 +0200 From: Yuriy Zabrovarnyy <yzabrovarniy@gmail.com> To: Yura Movchan <yure@gluu.org> Cc: Michael Schwartz <mike@gluu.org>, Yuriy Zabrovarnyy <yuriy@gluu.org>, dejan@gluu.org Subject: Re: FW: [Support] [openxdi - yure] Repository changes for revision r875 Hi all, Self modification feature is implemented (OX-89 : Owner of graph can specify $self$do link contract.). From now please use $self$do instead of $allow_do_everething$do link contract (code snippet that allows to use it already removed). oxServer authorize message request by oxAuth, that means that it must be properly configured. Self modification is allowed when graphId equals sender and equals inum from oxAuth jwt token. <sender>$msg!b82414c3-a86f-4afb-89e1-0a557c29ca10/$()/(<graphId>) <sender>$msg!b82414c3-a86f-4afb-89e1-0a557c29ca10/{JWT-0.6}$token!/(data:,<jwt token>) In case you run oxServer in test mode following test jwt token is used: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImprdSI6Imh0dHA6XC9cL3NlZWQuZ2x1dS5vcmdcL294YXV0aFwvc2VhbVwvcmVzb3VyY2VcL3Jlc3R2MVwvb3hhdXRoXC9qd2siLCJraWQiOiIxIn0.eyJpc3MiOiJzZWVkLmdsdXUub3JnIiwidXNlcl9pZCI6Im1pa2UiLCJhdWQiOiIwNmZlOTg1Zi00MTExLTQxY2YtYTE2ZC00MzRmZjQ4ZjkyYTIuc2VlZC5nbHV1Lm9yZyIsImV4cCI6MTMyNDQ5NTA5MTI0NiwiaWF0IjoxMzI0NDkxNDkxMjQ2LCJveEludW0iOiJAITExMTEhMDAwMCFENEU3Iiwib3hWYWxpZGF0aW9uVVJJIjoiaHR0cDpcL1wvc2VlZC5nbHV1Lm9yZ1wvb3hhdXRoXC9zZWFtXC9yZXNvdXJjZVwvcmVzdHYxXC9veGF1dGhcL3ZhbGlkYXRlIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0._4N13T8lBl0qGdKK613fsQ It contains inum: @!1111!0000!D4E7 Yuriy Z
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]