<div dir="ltr"><div>$BBgDMMM(B</div><div>$BM-;V$N3'MM(B</div><div><br></div><div>$B$*@$OC$K$J$C$F$*$j$^$9!#(B</div><div>$B3k@>$G$9!#(B</div><div><br></div><div>$B@hF|$O!V(Bcloud.core.callbacks.js$B!W$NJQ99FbMF$r$465<($"$j$,$H$&$4$6$$$^$7$?!#(B</div><div>$B;n$7$F$_$?$H$3$m!"%m%0%$%s2hLL$r%9%-%C%W$7$F%@%C%7%e%\!<%I2hLL$X%m%0%$%s$,=PMh$^$7$?!#(B</div>
<div><br></div><div>$B$7$+$7$J$,$i!"%m%0%*%U$7$h$&$H$7$F$b2hLL$,JQ$o$i$:!"%m%0%*%U=PMh$^$;$s!#(B</div><div>$B$^$?!"(BURL$B$r%3%T!<$7$F0c$&%V%i%&%6$+$i%m%0%$%s=PMh$F$7$^$&$N$G%;%-%e%j%F%#E*$KLdBj$,$"$j$^$9!#(B</div><div><br></div><div>$B:n6H<j=g$H$7$F$O!"JT=8$7$?!V(Bcloud.core.callbacks.js$B!W$K:9BX$(!"JL%7%9%F%`$+$i$O(Btarget=&quot;_blank&quot;$B$GJL%&%#%s%I%&$r3+$-!"$=$NCf$G(B /api $B$rIU$1$J$$!J(Busername, password$B$J$I$N(BQUERY_STRING$B$OIU$1$?$^$^!K7A$N(BURL$B$X%j%@%$%l%/%H$5$;$F$$$k$H$$$&$b$N$G$9!#(B</div>
<div><br></div><div>$B5$$K$J$kE@$O!"(B/api $B$rC!$$$?$H$-$K%l%9%]%s%9$H$7$FF@$i$l$k(B sessionkey $B$d(Bcookie $B$H$7$FF@$i$l$k(B JSESSIONID $B$r$^$C$?$/MxMQ$7$F$$$J$$$3$H$G$9!#(B</div><div><br></div><div>$B$d$O$j(Bcookie$B$G%;%C%7%g%s4IM}$9$k$+!"$=$lF1Ey$N%;%-%e%j%F%#$G%m%0%$%s$5$;$?$$$G$9!#(B</div><div><br></div><div>$B$3$NJ}K!$K$D$$$F!"2?$+$4B8CN$G$7$?$i$465<($r$*4j$$CW$7$^$9!#(B</div>
<div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013$BG/(B5$B7n(B11$BF|(B 11:17 $B$*$*$D$+$^$5$R$H(B <span dir="ltr">&lt;<a href="mailto:masahito@ootsuka.jp" target="_blank">masahito@ootsuka.jp</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">$BBgDM!wJ!2,$H?=$7$^$9!#(B<br>
<br>
api_url$B$r(B<br>
<a href="http://hostname/client/" target="_blank">http://hostname/client/</a><br>
$B$K$7$?%j%s%/!J(B/api$B$rIU$1$J$$!K$r@8@.$7!$%V%i%&%6$G%"%/%;%9$7$F$_$F$/$@$5$$!#(B<br>
$B%m%0%$%s2hLL$r%9%-%C%W$7$F%@%C%7%e%\!<%I2hLL$,=P$F$/$l$P@.8y$G$9!#(B<br>
<br>
$B$^$?(Bcloud.core.callbacks.js$B$O0J2<$N$h$&$KJQ99$7$F$$$^$9!#(B($BEvJ}(B2.2.14$B$r;HMQ(B)<br>
<br>
-- a/scripts/cloud.core.callbacks.js<br>
+++ b/scripts/cloud.core.callbacks.js<br>
@@ -51,9 +51,11 @@ var clientConsoleUrl &nbsp; = &quot;/client/console&quot;;<br>
<br>
&nbsp;$(document).ready(function() {<br>
<br>
- &nbsp; &nbsp; &nbsp; var url = $.urlParam(&quot;loginUrl&quot;);<br>
+ &nbsp; &nbsp; &nbsp; var url = document.URL;<br>
+ &nbsp; &nbsp; &nbsp; var urlarray = url.split(&#39;?&#39;);<br>
+ &nbsp; &nbsp; &nbsp; url = urlarray[1];<br>
&nbsp; &nbsp; &nbsp; &nbsp; if (url != undefined &amp;&amp; url != null &amp;&amp; url.length &gt; 0) {<br>
- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; url = unescape(clientApiUrl+&quot;?&quot;+url);<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; url = clientApiUrl+&quot;?&quot;+url;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $.ajax({<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; url: url,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataType: &quot;json&quot;,<br>
<div><div class="h5"><br>
<br>
&gt; $BM-;V$N3'MM(B<br>
&gt;<br>
&gt; $B3k@>$H?=$7$^$9!#(B<br>
&gt; $B$*@$OC$K$J$C$F$*$j$^$9!#(B<br>
&gt;<br>
&gt; $B!V(BSingle Sign On$B!W$K$D$$$F!"$4B8CN$NJ}$,$$$i$7$?$i$465<($*4j$$CW$7$^$9!#(B<br>
&gt;<br>
&gt;<br>
&gt; $B"#35MW(B<br>
&gt; LoginAPI$B$r;H$$!"JL%7%9%F%`$h$j(BCloudStack$B%3%s%=!<%k$K(BSingleSignOn$B$r9T$$$?$$$N$G$9$,!"$&$^$/$$$-$^$;$s!#(B<br>
&gt;<br>
&gt; $BJ}K!$O!"!V(Bsecurity.singlesignon.key$B!W$r;HMQ$7$F0J2<$N$h$&$K@\B3$r;n$_$F$*$j$^$9!#(B<br>
&gt; http://&lt;api_url&gt;?command=login&amp;username=XXX&amp;domainid=NNN&amp;timestamp=YYY&amp;signature=&lt;secure-hash&gt;<br>
&gt;<br>
&gt;<br>
&gt; $B"#<ALdFbMF(B<br>
&gt; $B#1!%!V(Bsecurity.singlesignon.key$B!W$r;H$C$?(Bsignature$B$N@8@.J}K!(B<br>
&gt;$B!!!!(B $B!J(Bsecurity.singlesignon.key $B$r;H$C$F(BAPI$B$rC!$$$F$_$?$H$3$m1~Ez$O@5>o$G$7$?$,!"LdBj$N@Z$jJ,$1$N0Y$K3NG'$5$;$F$/$@$5$$!#!K(B<br>
&gt;<br>
&gt; $B#2!%!V(BRedirecting to the CloudStack UserInterface$B!W$N<B8=J}K!(B<br>
&gt;$B!!!!(B $B!&(Bcloud.core.callbacks.js$B$NJT=8$,I,MW$J$N$+!)(B<br>
&gt;$B!!!!(B $B!&$^$?!"$I$NMM$KJT=8$9$l$PNI$$$+!)(B<br>
&gt;<br>
&gt; $B#3!%0J>e$,%/%j%"$K$J$l$PLdBj$O2r7h$J$N$+!)!J$=$b$=$bJ}8~@-$O9g$C$F$$$k$N$+!)!K(B<br>
&gt;<br>
&gt;<br>
&gt; $B0J>e!"2?B4$h$m$7$/$*4j$$CW$7$^$9!#(B<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; users mailing list<br>
&gt; <a href="mailto:users@cloudstack.jp">users@cloudstack.jp</a><br>
&gt; <a href="http://ml.cloudstack.jp/mailman/listinfo/users" target="_blank">http://ml.cloudstack.jp/mailman/listinfo/users</a><br>
<br>
</blockquote></div><br></div></div>