$B$*@$OC$K$J$C$F$$$^$9!#(B<br><br>
<div><span class="gmail_quote">07/06/06 $B$K(B <b class="gmail_sendername">$B55ED0lO:(B</b> &lt;<a href="mailto:kameda.ichiro@gmail.com">kameda.ichiro@gmail.com</a>&gt; $B$5$s$O=q$-$^$7$?(B:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>SessionScope$B$r;H$C$FG'>Z%A%'%C%/$r9T$J$&%5%s%W%k$b:n@.$7$^$7$?$,!"(B</div>
<div>$B$=$N>l9g$O!"4D6-(B1$B!"4D6-(B2$B$H$b@5>o$KF0:n$7$^$7$?!#(B<br><br>&nbsp;</div>
<div><span class="gmail_quote">07/06/06 $B$K(B <b class="gmail_sendername">Kenji Yamaguchi</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:k.yamaguchi@ts.infocom.co.jp" target="_blank">k.yamaguchi@ts.infocom.co.jp
</a>&gt; $B$5$s$O=q$-$^$7$?(B:</span> 
<div><span class="e" id="q_112febd724b38ed5_1">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">$B$*@$OC$K$J$j$^$9!#(B<br>$B;38}$G$9!#(B<br><br>$B$3$N7o!"$O(B<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.seasar.org/issues/browse/TEEDA-305" target="_blank">
https://www.seasar.org/issues/browse/TEEDA-305 </a><br>$B$NLdBj$G$O$J$$$G$7$g$&$+!)(B<br>$B0c$C$F$$$?$i$9$$$^$;$s!#(B<br><br>-----Original Message-----<br>From: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:seasar-user-bounces@ml.seasar.org" target="_blank">
seasar-user-bounces@ml.seasar.org</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:seasar-user-bounces@ml.seasar.org" target="_blank"> seasar-user-bounces@ml.seasar.org</a>] On Behalf Of Shinpei Ohtani
<br>Sent: Wednesday, June 06, 2007 10:09 AM<br>To: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:seasar-user@ml.seasar.org" target="_blank">seasar-user@ml.seasar.org</a><br>Subject: [Seasar-user:8094] Re:S2Container$B$H(BTeeda$B$N%P!<%8%g%s$rJQ99$9$k$H(BInterceptor$B$K(BDI$B$5$l$^$;$s(B 
<br><br>$BBgC+$G$9!#(B<br><br>$B$O$:$7$F$$$k$+$b$7$l$^$;$s$,!"(B<br>$B!&(BLoginInterceptor2 $B$OK\Ev$KF0$$$F$$$^$9$G$7$g$&$+!)(B<br>$B%G%P%C%0%]%$%s%H$r$"$F$F$_$F$/$@$5$$!#(B</blockquote></span></div></div></blockquote>
<div>*** LoginInterceptor2$B$r%a%C%;!<%8=PNO$9$kMM$KJQ99$7$F%F%9%H$7$F$_$^$7$?(B</div>
<div>
<p>public class LoginInterceptor2 implements MethodInterceptor {</p>
<p>...$B>JN,(B...</p>
<p>&nbsp; public Object invoke(MethodInvocation invocation) throws Throwable {<br>&nbsp;&nbsp;&nbsp; System.out.println(&quot;LoginInterceptor2...$B5/F0(B&quot;);<br>&nbsp;&nbsp;&nbsp; $B!D>JN,!D(B</p>
<p>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; return &quot;error&quot;;<br>&nbsp; }</p>
<p>}</p>
<p>***$B<!$NDL$j%a%C%;!<%8$N=PNO$,3NG'$G$-$k$3$H$G!"(BLoginInterceptor2$B$N5/F03NG'$r9T$$$^$7$?!#(B</p>
<p>....$B>JN,(B....<br>DEBUG 2007-06-06 11:16:26,566 [http-8080-Processor25] BEGIN test.web.logincheck2<br>.Logincheck2Page#initialize()<br>##### Start initialize() #####<br>DEBUG 2007-06-06 11:16:26,566 [http-8080-Processor25] END 
test.web.logincheck2.L<br>ogincheck2Page#initialize() : null<br>DEBUG 2007-06-06 11:16:26,576 [http-8080-Processor25] HOT deploy$B$r=*N;$7$^$7$?(B<br>DEBUG 2007-06-06 11:16:28,819 [http-8080-Processor25] HOT deploy$B$r3+;O$7$^$9(B<br>DEBUG 2007-06-06 11:16:28,879 [http-8080-Processor25] $B%/%i%9(B(
test.web.logincheck<br>2.Logincheck2Page[logincheck2_logincheck2Page])$B$N%3%s%]!<%M%s%HDj5A$rEPO?$7$^$9(B<br>DEBUG 2007-06-06 11:16:28,919 [http-8080-Processor25] BEGIN test.web.logincheck2<br>.Logincheck2Page#doAuth()<br>LoginInterceptor2...$B5/F0(B
<br>DEBUG 2007-06-06 11:16:28,919 [http-8080-Processor25] END test.web.logincheck2.L<br>ogincheck2Page#doAuth() : error<br>....$B>JN,(B....<br></p></div>
<div>&nbsp;</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div><span class="e" id="q_112febd724b38ed5_1">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">$B!&(Bcustomizer.dicon$B$,2?$+$*$+$7$$$+$b$7$l$^$;$s!#(B</blockquote></span></div></div></blockquote>
<div>*** customizer.dicon$B$NFbMF$O<!$NDL$j$G$9!#(B</div>
<div>&nbsp;</div>
<div>
<p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;!DOCTYPE components PUBLIC &quot;-//SEASAR2.1//DTD S2Container//EN&quot;<br>&nbsp;&quot;<a href="http://www.seasar.org/dtd/components21.dtd">http://www.seasar.org/dtd/components21.dtd
</a>&quot;&gt;<br>&lt;components&gt;<br>&nbsp;&nbsp;&nbsp; &lt;component name=&quot;maiAspectCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.AspectCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;interceptorName&quot;&gt;&quot;
s2mai.s2MaiInterceptor&quot;&lt;/property&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/component&gt;</p>
<p>&nbsp;&nbsp;&nbsp; &lt;component name=&quot;maiCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;defaultCustomizer&lt;/arg&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/initMethod&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;maiAspectCustomizer&lt;/arg&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/initMethod&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/component&gt;</p>
<p>&nbsp; &lt;component name=&quot;loginInterceptor&quot; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class=&quot;test.interceptor.LoginInterceptor&quot; /&gt;<br>&nbsp; &lt;component name=&quot;testCustomizer&quot;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class=&quot;org.seasar.framework.container.customizer.AspectCustomizer
&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;addInterceptorName&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;&quot;loginInterceptor&quot;&lt;/arg&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/initMethod&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;useLookupAdapter&quot;&gt;true&lt;/property&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;pointcut&quot;&gt;&quot;doExecute&quot;&lt;/property&gt; <br>&nbsp; &lt;/component&gt;</p>
<p>&nbsp; &lt;component name=&quot;loginInterceptor2&quot; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class=&quot;test.interceptor.LoginInterceptor2&quot; /&gt;</p>
<p>&nbsp; &lt;component name=&quot;testCustomizer2&quot;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class=&quot;org.seasar.framework.container.customizer.AspectCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;addInterceptorName&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;&quot;loginInterceptor2&quot;&lt;/arg&gt; 
<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/initMethod&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;pointcut&quot;&gt;&quot;doAuth&quot;&lt;/property&gt; <br>&nbsp; &lt;/component&gt;</p>
<p><br>&nbsp; &lt;component name=&quot;pageCustomizer&quot; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class=&quot;org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;pageSupportAspectCustomizer&lt;/arg&gt;
<br>&nbsp;&nbsp;&nbsp; &lt;/initMethod&gt;<br>&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;testCustomizer&lt;/arg&gt; <br>&nbsp;&nbsp;&nbsp; &lt;/initMethod&gt;<br>&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;testCustomizer2&lt;/arg&gt; 
<br>&nbsp;&nbsp;&nbsp; &lt;/initMethod&gt;<br>&nbsp; &lt;/component&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;&lt;component name=&quot;defaultCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.AspectCustomizer&quot;&gt;<br>&nbsp;&nbsp;&lt;property name=&quot;interceptorName&quot;&gt;&quot;aop.traceInterceptor&quot;&lt;/property&gt;
<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;commandAspectCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.AspectCustomizer&quot;&gt;<br>&nbsp;&nbsp;&lt;property name=&quot;interceptorName&quot;&gt;&quot;
aop.traceInterceptor&quot;&lt;/property&gt;<br>&nbsp;&nbsp;&lt;property name=&quot;pointcut&quot;&gt;&quot;do.*, initialize, prerender&quot;&lt;/property&gt;<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;actionSupportAspectCustomizer&quot; class=&quot;
org.seasar.framework.container.customizer.AspectCustomizer&quot;&gt;<br>&nbsp;&nbsp;&lt;property name=&quot;interceptorName&quot;&gt;&quot;app_aop.actionSupportInterceptor&quot;&lt;/property&gt;<br>&nbsp;&nbsp;&lt;property name=&quot;pointcut&quot;&gt;&quot;do.*, initialize, prerender&quot;&lt;/property&gt;
<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;actionCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;commandAspectCustomizer&lt;/arg&gt;
<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;actionSupportAspectCustomizer&lt;/arg&gt;<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;daoCustomizer&quot; class=&quot;
org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;defaultCustomizer&lt;/arg&gt;<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&lt;/component&gt;<br>
&nbsp;&lt;component name=&quot;dtoCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;dxoCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.CustomizerChain
&quot;&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;defaultCustomizer&lt;/arg&gt;<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;helperCustomizer&quot; class=&quot;
org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;defaultCustomizer&lt;/arg&gt;<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&lt;/component&gt;<br>
&nbsp;&lt;component name=&quot;logicCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;defaultCustomizer&lt;/arg&gt;
<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;pageSupportAspectCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.AspectCustomizer&quot;&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addInterceptorName&quot;&gt;
<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;&quot;aop.traceInterceptor&quot;&lt;/arg&gt;<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addInterceptorName&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;&quot;app_aop.appFacesExceptionThrowsInterceptor&quot;&lt;/arg&gt;
<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&nbsp;&lt;property name=&quot;pointcut&quot;&gt;&quot;do.*, initialize, prerender&quot;&lt;/property&gt;<br>&nbsp;&lt;/component&gt;</p>
<p>&nbsp;&lt;component name=&quot;serviceCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&nbsp;&lt;initMethod name=&quot;addCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&lt;arg&gt;defaultCustomizer&lt;/arg&gt;
<br>&nbsp;&nbsp;&lt;/initMethod&gt;<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;interceptorCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;validatorCustomizer&quot; class=&quot;
org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;<br>&nbsp;&lt;/component&gt;<br>&nbsp;&lt;component name=&quot;converterCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.CustomizerChain&quot;&gt;
<br>&nbsp;&lt;/component&gt;</p>
<p>&nbsp;&lt;/components&gt;</p></div>
<div>&nbsp;</div>
<div>&nbsp;</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div><span class="e" id="q_112febd724b38ed5_1">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">$B$3$A$i$O8+$;$F$$$?$@$1$l$P2?$+$o$+$k$+$b$7$l$^$;$s!#(B<br>$B!&4D6-(B2$B$G(BTeeda$B$d(BS2$B$N8E$$(Bjar$B$,(BWEB-INF$B$N2<$K;D$C$F$$$?$j$7$^$;$s$+!)(B</blockquote></span></div></div></blockquote>

<div>&nbsp;</div>
<div>/lib$B$NFbMF$O0J2<$NDL$j$G$9(B</div>
<div>aopalliance-1.0.jar<br>commons-collections-3.1.jar<br>commons-el-1.0.jar<br>commons-fileupload-1.2.jar<br>commons-io-1.3.1.jar<br>commons-lang-2.2.jar<br>commons-logging-1.1.jar<br>freemarker-2.3.9.jar<br>geronimo-ejb_2.1_spec-
1.0.jar<br>geronimo-j2ee_1.4_spec-1.0.jar<br>geronimo-jsp_2.0_spec-1.0.jar<br>geronimo-jta_1.1_spec-1.0.jar<br>h2-2007-01-30.jar<br>hsqldb-1.8.0.1.jar<br>javaee.jar<br>javassist-3.4.ga.jar<br>jstl-1.1.2.jar<br>log4j-1.2.13.jar
<br>ognl-2.6.7.jar<br>ozacc-mail-1.1.7.jar<br>poi-2.5.1-final-20040804.jar<br>rhino-1.6r2.jar<br>s2-dao-1.0.40.jar<br>s2-dao-tiger-1.0.40.jar<br>s2-extension-2.4.13.jar<br>s2-framework-2.4.13.jar<br>s2-tiger-2.4.13.jar<br>
s2mai-0.9.1.jar<br>teeda-ajax-1.0.7.jar<br>teeda-core-1.0.7.jar<br>teeda-extension-1.0.7.jar<br>teeda-tiger-1.0.7.jar<br>teeda-xmlunit-0.1.0.jar<br>tomahawk-1.1.1.jar<br>xercesImpl-2.6.2.jar<br>xmlParserAPIs-2.6.2.jar<br>
xmlunit-1.0.jar</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div><span class="e" id="q_112febd724b38ed5_1">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">07/06/06 $B$K(B $B55ED0lO:(B&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:kameda.ichiro@gmail.com" target="_blank">
kameda.ichiro@gmail.com</a>&gt; $B$5$s$O=q$-$^$7$?(B:<br>&gt; $B55ED$H?=$7$^$9!#(B<br>&gt; $B=i$a$FEj9F$7$^$9!#(B<br>&gt; $B59$7$/$*4j$$$7$^$9!#(B<br>&gt;<br>&gt; AOP$B$K$h$kG'>Z%A%'%C%/$N%5%s%W%k$r:n$C$F$$$^$9!#(B<br>&gt; S2Container$B$H(BTeeda$B$N%P!<%8%g%s$rJQ99$7$?$i!"(B <br>&gt; $B%W%m%0%i%`$,@5>o$KF0:n$7$J$/$J$j!"860x$,J,$+$j$^$;$s!#(B<br>&gt; $B3'MM$N$465<($r;r$j$?$/Ej9F$7$^$7$?!#(B
<br>&gt;<br>&gt; $B"#4D6-(B1(S2Container-2.4.10$B$H(BTeeda-1.0.4)<br>&gt;&nbsp;&nbsp; s2-extension-2.4.10.jar,s2-framework-2.4.10.jar,s2-tiger-2.4.10.jar<br>&gt;&nbsp;&nbsp; teeda-core-1.0.4.jar ,teeda-extension-1.0.4.jar,teeda-tiger-1.0.4.jar<br>&gt;&nbsp;&nbsp; $BB>B??t(B
<br>&gt;<br>&gt; $B"#4D6-(B2(S2Container-2.4.13$B$H(BTeeda-1.0.7)<br>&gt; s2-extension-2.4.13.jar,s2-framework-2.4.13.jar,s2-tiger-2.4.13.jar<br>&gt; teeda-ajax-1.0.7.jar, teeda-core-1.0.7.jar,teeda-extension-1.0.7.jar,teeda-tiger-1.0.7.jar
<br>&gt;&nbsp;&nbsp; $BB>B??t(B<br>&gt;<br>&gt; $B"#%W%m%0%i%`9=@.(B<br>&gt;&nbsp;&nbsp; LoginInterceptor2.java<br>&gt;&nbsp;&nbsp; LoginUserDto.java&nbsp;&nbsp;&nbsp;&nbsp;@Component(instance = InstanceType.SESSION)$B$G(B<br>&gt;&nbsp;&nbsp;$B%;%C%7%g%s$KJ]4I(B <br>&gt; login2.html&nbsp;&nbsp;&nbsp;&nbsp; ----&gt;Login2Page.java<br>&gt;
<br>&gt; $B%m%0%*%U$O(B@RemoveSession(name=&quot;loginUserDto&quot;)<br>&gt;&nbsp;&nbsp; logincheck2.html----&gt;Logincheck2Page.java<br>&gt;<br>&gt; $B"#%F%9%H$N35MW(B<br>&gt; $B!&(Blogin2.html$B$GF~NO$7$?%m%0%$%s>pJs$r(BLogin2Page$B$G%A%'%C%/$7(B <br>&gt; $B7k2L$r(BLoginUserDto$B$K%;%C%H$7!"%;%C%7%g%s$KJ]4I$7$^$9!#(B
<br>&gt;&nbsp;&nbsp; $B!&(Blogincheck2.html$B$O%F%9%HMQ(Bhtml$B$G!"2hLL>e$N(Bsubmit$B%\%?%s$r(B<br>&gt; $B2!2<$9$k$H(BLogincheck2Page$B$N(BdoAuth()$B%a%=%C%I$r8F$S=P$7$^$9!#(B<br>&gt; $B!&(BdoAuth()$B%a%=%C%I$K$O(BAOP$B$,E,MQ$5$l$F$*$j!"(BLoginInterceptor2$B$,(B<br>&gt; LoginUserDto$B$N%m%0%$%s>pJs$r%A%'%C%/$7!"G'>Z(BOK$B$H%(%i!<$K(B <br>&gt; $BBP1~$7$F2hLL$KA+0\$7$^$9!#(B
<br>&gt;<br>&gt; $B"#4D6-(B1$B$O@5>o$KF0:n$7$^$9!#(B<br>&gt;<br>&gt; $B"#4D6-(B2$B$N>l9g!"(B<br>&gt;<br>&gt; 1.LoginInterceptor2$B$K(BLoginUserDto$B$,(BDI$B$5$l$J$$(B(null)$B$?$a!">o$KG'>Z%(%i!<$K$J$j$^$9(B<br>&gt; Logincheck2Page$B$K$O(BDI$B$5$l$^$9(B<br>&gt;&nbsp;&nbsp; 2.Login2Page$B$N%m%0%*%U$G(BLoginUserDto$B$,%;%C%7%g%s$+$i:o=|$5$l$^$;$s(B
 <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; @RemoveSession(name=&quot;loginUserDto&quot;)$B$,Mx$+$J$$(B<br>&gt;<br>&gt; $B"#%=!<%9(B<br>&gt;<br>&gt; $B!Z(BLoginInterceptor2$B![(B<br>&gt; package test.interceptor;<br>&gt;<br>&gt; $B!D(B $B>JN,(B $B!D(B<br>&gt;<br>&gt; public class LoginInterceptor2 implements MethodInterceptor { 
<br>&gt;<br>&gt;&nbsp;&nbsp; private LoginUserDto loginUserDto;<br>&gt;<br>&gt;&nbsp;&nbsp; public void setLoginUserDto(LoginUserDto loginUserDto){<br>&gt; this.loginUserDto = loginUserDto; }<br>&gt;<br>&gt;&nbsp;&nbsp; public Object invoke(MethodInvocation invocation) throws Throwable { 
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; if(loginUserDto!=null){<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(loginUserDto.isAuthed()){<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(&quot;@@@@@@@@@ $BA0(B&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object obj = invocation.proceed();<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
System.out.println(&quot;@@@@@@@@@ $B8e(B&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return obj;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; return &quot;error&quot;;<br>&gt;&nbsp;&nbsp; }<br>&gt; }<br>&gt;<br>&gt; $B!Z(BLoginUserDto$B![(B<br>&gt; package test.web.dto
 ;<br>&gt; import org.seasar.framework.container.annotation.tiger.*;<br>&gt;<br>&gt; @Component(instance = InstanceType.SESSION) public class LoginUserDto<br>&gt; {<br>&gt;&nbsp;&nbsp; private String userId;<br>&gt;&nbsp;&nbsp; private boolean authed; 
<br>&gt;&nbsp;&nbsp; public String&nbsp;&nbsp;getUserId()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { return userId;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&gt;&nbsp;&nbsp; public void&nbsp;&nbsp;&nbsp;&nbsp;setUserId(String userId)&nbsp;&nbsp;&nbsp;&nbsp;{ this.userId = userId;&nbsp;&nbsp; }<br>&gt;&nbsp;&nbsp; public boolean isAuthed()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ return authed;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} 
<br>&gt;&nbsp;&nbsp; public void&nbsp;&nbsp;&nbsp;&nbsp;setAuthed(boolean authed)&nbsp;&nbsp; { this.authed = authed;&nbsp;&nbsp; }<br>&gt; }<br>&gt;<br>&gt; $B!Z(BLogin2Page$B![(B<br>&gt;<br>&gt; package test.web.login2;<br>&gt;<br>&gt; $B!D(B $B>JN,(B $B!D(B<br>&gt;<br>&gt; public class Login2Page { 
<br>&gt;<br>&gt;&nbsp;&nbsp; private String&nbsp;&nbsp;userId;<br>&gt;&nbsp;&nbsp; private String&nbsp;&nbsp;password;<br>&gt;&nbsp;&nbsp; private boolean loggedin=true;<br>&gt;&nbsp;&nbsp; private String&nbsp;&nbsp;loginMsg = &quot;$B=i4|%a%C%;!<%8(B&quot;;<br>&gt;<br>&gt;&nbsp;&nbsp; private LoginUserDto loginUserDto; 
<br>&gt;<br>&gt;&nbsp;&nbsp;$B!D(B $B>JN,(B $B!D(B(setter/getter)<br>&gt;<br>&gt;&nbsp;&nbsp; public void&nbsp;&nbsp;&nbsp;&nbsp;setLoginUserDto(LoginUserDto loginUserDto) {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; this.loginUserDto = loginUserDto;<br>&gt;&nbsp;&nbsp; }<br>&gt;<br>&gt;&nbsp;&nbsp; public String doLogin() {<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(&quot;#### start doLogin() ####&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; if(userId.equals(&quot;user&quot;) &amp;&amp; password.equals(&quot;user&quot;)) {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loginUserDto.setAuthed(true);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
loginUserDto.setUserId(userId);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loginMsg = &quot;$B%m%0%$%s@.8y(B&quot;;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loggedin = true;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return &quot;success&quot;;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; } else {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loginUserDto.setAuthed(false);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loginMsg = &quot;$B%m%0%$%s<:GT(B&quot;; 
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loggedin = false;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return &quot;error&quot;;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;<br>&gt;&nbsp;&nbsp; }<br>&gt;<br>&gt;&nbsp;&nbsp; @RemoveSession(name=&quot;loginUserDto&quot;)<br>&gt;&nbsp;&nbsp; public String doLogout() {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println
 (&quot;#### start doLogout() ####&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; return null;<br>&gt;&nbsp;&nbsp; }<br>&gt;<br>&gt;&nbsp;&nbsp; public String prerender() {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(&quot;#### start prerender() ####&quot;);<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; if( 
loginUserDto.isAuthed()) {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loggedin = true;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; } else {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loggedin = false;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; return null;<br>&gt;&nbsp;&nbsp; }<br>&gt; }<br>&gt;<br>&gt; $B!Z(BLogincheck2Page$B![(B<br>&gt;<br>&gt; package 
test.web.logincheck2;<br>&gt;<br>&gt; $B!D(B $B>JN,(B $B!D(B<br>&gt;<br>&gt; public class Logincheck2Page {<br>&gt;<br>&gt; $B!D(B $B>JN,(B $B!D(B<br>&gt;<br>&gt;&nbsp;&nbsp; private LoginUserDto loginUserDto;<br>&gt;&nbsp;&nbsp; public void setLoginUserDto(LoginUserDto loginUserDto){ 
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; his.loginUserDto = loginUserDto ;<br>&gt;&nbsp;&nbsp; }<br>&gt;<br>&gt;&nbsp;&nbsp; public String initialize(){<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(&quot;##### Start initialize() #####&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; statMsg=&quot;$B%m%0%$%s>5G'L$:Q(B&quot;; 
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; if(loginUserDto!=null){<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(loginUserDto!=null){<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(loginUserDto.isAuthed ()){<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; statMsg=&quot;$B%m%0%$%s>5G':Q$_(B&quot;;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; return null; 
<br>&gt;&nbsp;&nbsp; }<br>&gt;&nbsp;&nbsp; public String doAuth() {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(&quot;##### Start doAuth() #####&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; return null;<br>&gt;&nbsp;&nbsp; }<br>&gt; }<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________ 
<br>&gt; Seasar-user mailing list<br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seasar-user@ml.seasar.org" target="_blank">Seasar-user@ml.seasar.org</a><br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">
https://ml.seasar.org/mailman/listinfo/seasar-user </a><br>&gt;<br>&gt;<br><br><br>--<br>=============================<br>Shinpei Ohtani<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:shinpei.ohtani@gmail.com" target="_blank">
shinpei.ohtani@gmail.com</a><br>=============================<br>_______________________________________________ <br>Seasar-user mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seasar-user@ml.seasar.org" target="_blank">
Seasar-user@ml.seasar.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a> <br>
<br><br>_______________________________________________<br>Seasar-user mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seasar-user@ml.seasar.org" target="_blank">Seasar-user@ml.seasar.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br></blockquote></span></div>
</div><br></blockquote></div><br>