GeeCON Prague 2014*
The moose likes OO, Patterns, UML and Refactoring and the fly likes How to execute the SignonFilter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "How to execute the SignonFilter" Watch "How to execute the SignonFilter" New topic
Author

How to execute the SignonFilter

Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
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
 
GeeCON Prague 2014
 
subject: How to execute the SignonFilter