<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="_blank"$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"><<a href="mailto:masahito@ootsuka.jp" target="_blank">masahito@ootsuka.jp</a>></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 = "/client/console";<br>
<br>
$(document).ready(function() {<br>
<br>
- var url = $.urlParam("loginUrl");<br>
+ var url = document.URL;<br>
+ var urlarray = url.split('?');<br>
+ url = urlarray[1];<br>
if (url != undefined && url != null && url.length > 0) {<br>
- url = unescape(clientApiUrl+"?"+url);<br>
+ url = clientApiUrl+"?"+url;<br>
$.ajax({<br>
url: url,<br>
dataType: "json",<br>
<div><div class="h5"><br>
<br>
> $BM-;V$N3'MM(B<br>
><br>
> $B3k@>$H?=$7$^$9!#(B<br>
> $B$*@$OC$K$J$C$F$*$j$^$9!#(B<br>
><br>
> $B!V(BSingle Sign On$B!W$K$D$$$F!"$4B8CN$NJ}$,$$$i$7$?$i$465<($*4j$$CW$7$^$9!#(B<br>
><br>
><br>
> $B"#35MW(B<br>
> 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>
><br>
> $BJ}K!$O!"!V(Bsecurity.singlesignon.key$B!W$r;HMQ$7$F0J2<$N$h$&$K@\B3$r;n$_$F$*$j$^$9!#(B<br>
> http://<api_url>?command=login&username=XXX&domainid=NNN&timestamp=YYY&signature=<secure-hash><br>
><br>
><br>
> $B"#<ALdFbMF(B<br>
> $B#1!%!V(Bsecurity.singlesignon.key$B!W$r;H$C$?(Bsignature$B$N@8@.J}K!(B<br>
>$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>
><br>
> $B#2!%!V(BRedirecting to the CloudStack UserInterface$B!W$N<B8=J}K!(B<br>
>$B!!!!(B $B!&(Bcloud.core.callbacks.js$B$NJT=8$,I,MW$J$N$+!)(B<br>
>$B!!!!(B $B!&$^$?!"$I$NMM$KJT=8$9$l$PNI$$$+!)(B<br>
><br>
> $B#3!%0J>e$,%/%j%"$K$J$l$PLdBj$O2r7h$J$N$+!)!J$=$b$=$bJ}8~@-$O9g$C$F$$$k$N$+!)!K(B<br>
><br>
><br>
> $B0J>e!"2?B4$h$m$7$/$*4j$$CW$7$^$9!#(B<br>
><br>
</div></div>> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@cloudstack.jp">users@cloudstack.jp</a><br>
> <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>