Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to execute the SignonFilter

 
Seetesh Hindlekar
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have coded the SignOnFilter pattern as per the petstore example and configured the same in web.xml

web.xml
-------
<filter>
<filter-name>signonfilter</filter-name>
<filter-class>com.epfindia.control.servlet.SignOnFilter</filter-class>
</filter>

<servlet>
<servlet-name>userservlet</servlet-name>
<servlet-class>epfo.control.servlet.UserServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>userservlet</servlet-name>
<url-pattern>/userservlet</url-pattern>
</servlet-mapping>

How does the UserServlet connect to the filtername "signonfilter" defined in web.xml?

Any link to websites for how to do this would be highly appreciated.

Thanks,

Rex
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic