$B>.NS(B $B$5$s!"(B<br><br>$B%H%^%9$G$9!#(B<br><br>Thanks for your kind reply.After your suggestion i changed the the customizer.dicon file as follows.<br><br><b>customizer.dicon<br>:::::::::::::::::::::::::</b><br><br><components><br> <include path="default-customizer.dicon"/><br>
<br> <component name="pageCustomizer" class="org.seasar.framework.container.customizer.CustomizerChain"><br> <initMethod name="addCustomizer"><br> <arg>traceCustomizer</arg><br>
</initMethod><br> <br> <!-- Start --><br> <br> <initMethod name="addAspectCustomizer"><br> <arg>"<b>LoginAuthInterceptor</b>"</arg><br> <arg>"do.*,initialize, prerender"</arg><br>
</initMethod><br> <initMethod name="addAspectCustomizer"><br> <arg>"<b>LoginUserInterceptor</b>"</arg><br> <arg>"do.*,initialize, prerender"</arg><br>
</initMethod><br><br> <initMethod name="addIgnoreClassPattern"><br> <arg>"pmtool.web.login"</arg><br> <arg>"LoginPage"</arg><br> </initMethod><br>
<initMethod name="addIgnoreClassPattern"><br> <arg>"pmtool.web.error"</arg><br> <arg>"Error.*"</arg><br> </initMethod><br> <initMethod name="addIgnoreClassPattern"><br>
<arg>"pmtool.web.exception"</arg><br> <arg>"Login.*"</arg><br> </initMethod><br><br> <!--End --><br><br><...........<br><.............<br>My requirement is,<br>
For menu$B2hLL(B<b>LoginAuthInterceptor </b>is needed<b> </b>where as <b>LoginUserInterceptor </b>is not needed.For this situation how can i change this dicon file.<br><br>Thanks in advance<br>$B%H%^%9(B<br> <br><br><br><br><div class="gmail_quote">
2009/4/29 Koichi Kobayashi <span dir="ltr"><<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
$B>.NS(B (koichik) $B$G$9!%(B<br>
<br>
Date: Wed, 29 Apr 2009 16:44:39 +0900<br>
From: thomas <<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</a>><br>
To: <a href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</a><br>
Subject: [Seasar-user:17338] Seasar[$BJ#?t(BInterceptor$B$N;H$$J}(B]<br>
<div class="im"><br>
> If i use like this for menu page and expensesheet page the login check<br>
> interceptor has not called because i added these two pages in<br>
> addIgnoreClassPattern of userlevel check interceptor.<br>
<br>
</div>IgnoreClassPatterns of CustomizerChain are applied to all<br>
the children customizer of CustomizerChain.<br>
<br>
<component class="CustomizerChain"><br>
<initMethod name="addAspectCustomizer"><!-- customizer 1 --><br>
</initMethod><br>
<initMethod name="addAspectCustomizer"><!-- customizer 2 --><br>
</initMethod><br>
<initMethod name="addIgnoreClassPattern"><!-- applied to customizer 1 and 2 --><br>
</initMethod><br>
</component><br>
<div class="im"><br>
> I have to include addIgnoreClassPattern for each interceptor.Is it possible<br>
> or not?<br>
> If my thinging is not correct..If its not correct then how can i achieve<br>
> this...<br>
<br>
</div><div class="im">> customizer.dicon<br>
> :::::::::::::::::::::::::*<br>
<component name="pageCustomizer"<br>
class="org.seasar.framework.container.customizer.CustomizerChain"><br>
<initMethod name="addCustomizer"><br>
<arg>traceCustomizer</arg><br>
</initMethod><br>
<br>
</div> <initMethod name="addCustomizer"><br>
<arg><br>
<component class="org.seasar.framework.container.customizer.AspectCustomizer"><br>
<property name="interceptorName">"LoginAuthInterceptor"</property><br>
<property name="pointcut">"do.*,initialize, prerender"</property><br>
<div class="im"> <initMethod name="addIgnoreClassPattern"><br>
<arg>*"pmtool.web.login"*</arg><br>
<arg>*"LoginPage"*</arg><br>
</initMethod><br>
<initMethod name="addIgnoreClassPattern"><br>
<arg>"*pmtool.web.error*"</arg><br>
<arg>*"Error.**"</arg><br>
</initMethod><br>
<initMethod name="addIgnoreClassPattern"><br>
<arg>*"pmtool.web.exception*"</arg><br>
<arg>"*Login.**"</arg><br>
</initMethod><br>
</div> </component><br>
</arg><br>
</initMethod><br>
<br>
<initMethod name="addCustomizer"><br>
<arg><br>
<component class="org.seasar.framework.container.customizer.AspectCustomizer"><br>
<property name="interceptorName">"LoginUserInterceptor"</property><br>
<property name="pointcut">"do.*,initialize, prerender"</property><br>
<div class="im"> <initMethod name="addIgnoreClassPattern"><br>
<arg>"pmtool.web.login"</arg><br>
<arg>"LoginPage"</arg><br>
</initMethod><br>
<initMethod name="addIgnoreClassPattern"><br>
<arg>"pmtool.web.error"</arg><br>
<arg>"Error.*"</arg><br>
</initMethod><br>
<initMethod name="addIgnoreClassPattern"><br>
<arg>"pmtool.web.exception"</arg><br>
<arg>"Login.*"</arg><br>
</initMethod><br>
<initMethod name="addIgnoreClassPattern"><br>
<arg>"*pmtool.web.expensesheet*"</arg><br>
<arg>*"Index.**"</arg><br>
</initMethod><br>
<initMethod name="addIgnoreClassPattern"><br>
<arg>"*pmtool.web.menu*"</arg><br>
<arg>*"Menu.**"</arg><br>
</initMethod><br>
</div> </arg><br>
</initMethod><br>
</component><br>
<br>
<br>
<br>
--<br>
<component name="koichik"><br>
<property name="fullName">"Koichi Kobayashi"</property><br>
<property name="email">"<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>"</property><br>
<property name="blog">"<a href="http://d.hatena.ne.jp/koichik" target="_blank">http://d.hatena.ne.jp/koichik</a>"</property><br>
</component><br>
<br>
_______________________________________________<br>
Seasar-user mailing list<br>
<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</blockquote></div><br>