added a simple "gateway" servlet allowing us to redirect arbitrary URLs
through the Venice logon page
This commit is contained in:
13
etc/web.xml
13
etc/web.xml
@@ -246,6 +246,14 @@
|
||||
<servlet-class>com.silverwrist.venice.servlets.CommunityLogo</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>gateway</servlet-name>
|
||||
<description>
|
||||
Gateways access to a specific URL through the Venice login screen.
|
||||
</description>
|
||||
<servlet-class>com.silverwrist.venice.servlets.Gateway</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- the following are test servlets, they should go away -->
|
||||
|
||||
<servlet>
|
||||
@@ -374,6 +382,11 @@
|
||||
<url-pattern>/commlogo</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>gateway</servlet-name>
|
||||
<url-pattern>/gw</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- the following are test servlets, they should go away -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>testformdata</servlet-name>
|
||||
|
||||
Reference in New Issue
Block a user