starting to set up the IDP side of SourceID-SSO support (not ready yet)
This commit is contained in:
@@ -1,230 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
The contents of this file are subject to the Mozilla Public License Version 1.1
|
||||
(the "License"); you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
||||
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing rights and limitations under the License.
|
||||
|
||||
The Original Code is the Venice Web Communities System.
|
||||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2002-03 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<configuration>
|
||||
|
||||
<!-- Low-level Dynamo application container configuration -->
|
||||
<control>
|
||||
<background-threads normal="2" low="2"/>
|
||||
<resource-root>${code.path}</resource-root>
|
||||
<url-rewrite-rules>
|
||||
<rule type="ABSOLUTE" encode="false">${url}</rule>
|
||||
<rule type="SERVLET" encode="true">${context.path}/${url}</rule>
|
||||
<rule type="IMAGE" encode="false">${context.path}/images/${url}</rule>
|
||||
<rule type="IMAGEDATA" encode="false">${context.path}/imagedata/${url}</rule>
|
||||
<rule type="FRAME" encode="true">${context.path}/frame/${url}</rule>
|
||||
</url-rewrite-rules>
|
||||
</control>
|
||||
|
||||
<!-- The database connection pool -->
|
||||
<dbconnection name="data" classname="com.silverwrist.dynamo.db.DatabaseConnectionPool">
|
||||
<dbtype>mysql</dbtype>
|
||||
<!-- driver name is the new MySQL Connector for Java - replaces org.gjt.mm.mysql.Driver -->
|
||||
<driver>com.mysql.jdbc.Driver</driver>
|
||||
<uri>jdbc:mysql://localhost/venice</uri>
|
||||
<username>veniceuser</username>
|
||||
<password>XYZZY0099</password>
|
||||
<connections initial="5" max="20" busywait="true"/>
|
||||
<initialize test="true"/>
|
||||
</dbconnection>
|
||||
|
||||
<!-- Infrastructure objects -->
|
||||
<object name="connector" classname="com.silverwrist.dynamo.app.ConnectionManager" priority="0">
|
||||
<connection-point name="srm_proxy" interface="com.silverwrist.dynamo.db.UserProxyManagement"/>
|
||||
</object>
|
||||
|
||||
<object name="module-manager" classname="com.silverwrist.dynamo.module.ModuleManager" priority="0">
|
||||
<module-directory>${code.path}/modules</module-directory>
|
||||
</object>
|
||||
|
||||
<!-- Data-driven objects -->
|
||||
<object name="nscache" classname="com.silverwrist.dynamo.db.NamespaceCacheObject" priority="0">
|
||||
<database connection="data"/>
|
||||
</object>
|
||||
|
||||
<object name="index" classname="com.silverwrist.dynamo.index.IndexManagerObject" priority="1">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
</object>
|
||||
|
||||
<object name="srm" classname="com.silverwrist.dynamo.security.SRMObject" priority="1">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
<user-manager cpoint="srm_proxy"/>
|
||||
</object>
|
||||
|
||||
<object name="globals" classname="com.silverwrist.dynamo.db.GlobalDataManagerObject" priority="2">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
<security object="srm"/>
|
||||
<block-cache hardlimit="5" softlimit="20"/>
|
||||
</object>
|
||||
|
||||
<object name="users" classname="com.silverwrist.dynamo.db.UserManagerObject" priority="2">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
<security object="srm"/>
|
||||
<connect-proxy-services cpoint="srm_proxy"/>
|
||||
</object>
|
||||
|
||||
<object name="images" classname="com.silverwrist.dynamo.db.ImageStoreObject" priority="2">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
</object>
|
||||
|
||||
<object name="audit" classname="com.silverwrist.dynamo.security.SystemAuditManager" priority="3">
|
||||
<database connection="data" namespaces="nscache" userproxy="users"/>
|
||||
</object>
|
||||
|
||||
<object name="htmlchecker" classname="com.silverwrist.dynamo.htmlcheck.HTMLCheckerManager" priority="5">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
</object>
|
||||
|
||||
<object name="dictionary" classname="com.silverwrist.dynamo.dict.DictionarySubsystem" priority="6">
|
||||
<dictionary name="BASE" classname="com.silverwrist.dynamo.dict.ResourceDictionary" resource="en-us.dict"/>
|
||||
<dictionary name="SUPP" classname="com.silverwrist.dynamo.dict.ResourceDictionary" resource="supplemental.dict"/>
|
||||
<dictionary name="DB" classname="com.silverwrist.dynamo.dict.DatabaseDictionary">
|
||||
<database connection="data"/>
|
||||
</dictionary>
|
||||
</object>
|
||||
|
||||
<object name="unistore" classname="com.silverwrist.dynamo.unistore.UniStoreManager" priority="5">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
<security object="srm"/>
|
||||
<user-manager object="users"/>
|
||||
<message-cache hardlimit="100" softlimit="1000"/>
|
||||
</object>
|
||||
|
||||
<!-- Presentation and interface objects -->
|
||||
<object name="remapper" classname="com.silverwrist.dynamo.servlet.RemapperData" priority="0">
|
||||
<remap path="/verifyemail">
|
||||
<param name="tgt">top.js.vs</param>
|
||||
<target type="SERVLET">verify_email.js.vs?tgt=${tgt}</target>
|
||||
</remap>
|
||||
</object>
|
||||
|
||||
<object name="velocity" classname="com.silverwrist.dynamo.velocity.VelocityRenderer" priority="0">
|
||||
<resource-prefix>/velocity</resource-prefix>
|
||||
</object>
|
||||
|
||||
<object name="xmlrpc" classname="com.silverwrist.dynamo.xmlrpc.XmlRpcSubSystem"
|
||||
priority="-10" maxAge="3600">
|
||||
<dispatch method="validator1\.\w+" classname="com.silverwrist.dynamo.xmlrpc.Validator1Suite"/>
|
||||
<dispatch method="venice:siteinfo" classname="com.silverwrist.dynamo.xmlrpc.ScriptDispatcher">
|
||||
<script>/xmlrpc/siteinfo.js</script>
|
||||
<session param="0"/>
|
||||
<metadata-file>/xmlrpc/siteinfo-metadata.xml</metadata-file>
|
||||
</dispatch>
|
||||
<dispatch method="venice:session\.create" classname="com.silverwrist.venice.xmlrpc.VeniceCreateSession"/>
|
||||
<dispatch method="venice:session\.\w+" classname="com.silverwrist.dynamo.xmlrpc.ScriptDispatcher">
|
||||
<script>/xmlrpc/session.js</script>
|
||||
<session param="0"/>
|
||||
<metadata-file>/xmlrpc/session-metadata.xml</metadata-file>
|
||||
</dispatch>
|
||||
</object>
|
||||
|
||||
<object name="dialog" classname="com.silverwrist.dynamo.dialog.DialogManager" priority="0">
|
||||
<resource-prefix>/dialogs</resource-prefix>
|
||||
<resource-dialog-cache hardlimit="5" softlimit="20"/>
|
||||
</object>
|
||||
|
||||
<object name="mail" classname="com.silverwrist.dynamo.mail.MailSubSystem" priority="10">
|
||||
<global-properties object="globals"
|
||||
namespace="http://www.silverwrist.com/NS/venice/2002/12/28/mail.properties"/>
|
||||
<smtp-host property="smtp.host"/>
|
||||
<system-mail-name property="system.mail.from.name"/>
|
||||
<system-mail-addr property="system.mail.from.addr"/>
|
||||
<mailer property="mailer.name"/>
|
||||
<template-resource-prefix>/mailmessages</template-resource-prefix>
|
||||
<user-disclaimer block="user.disclaimer"/>
|
||||
<user-info-header property="user.info.header"/>
|
||||
<signature block="signature"/>
|
||||
</object>
|
||||
|
||||
<!-- Venice-layer objects -->
|
||||
|
||||
<object name="user-default-ns" classname="com.silverwrist.venice.app.UserDefaultNamespaceHolder" priority="50"/>
|
||||
|
||||
<object name="venice-session" classname="com.silverwrist.venice.session.VeniceSessionManager" priority="50">
|
||||
<global-properties object="globals"/>
|
||||
<user-manager object="users"/>
|
||||
</object>
|
||||
|
||||
<object name="venice-menus" classname="com.silverwrist.venice.menu.MenuManager" priority="100">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
<security object="srm"/>
|
||||
</object>
|
||||
|
||||
<object name="venice-frame" classname="com.silverwrist.venice.frame.FrameAssembler" priority="101">
|
||||
<global-properties object="globals"/>
|
||||
<providers security="srm" menu="venice-menus" commlogo="venice-communitylogo"/>
|
||||
</object>
|
||||
|
||||
<object name="venice-content" classname="com.silverwrist.venice.content.StandardContentSupplier" priority="100">
|
||||
<global-properties object="globals"/>
|
||||
</object>
|
||||
|
||||
<object name="venice-buttons" classname="com.silverwrist.venice.content.ButtonSupplier" priority="100">
|
||||
<global-properties object="globals"/>
|
||||
</object>
|
||||
|
||||
<object name="venice-userphoto" classname="com.silverwrist.venice.content.UserPhotoRenderer" priority="100">
|
||||
<global-properties object="globals"/>
|
||||
</object>
|
||||
|
||||
<object name="venice-communitylogo" classname="com.silverwrist.venice.content.CommunityLogoRenderer" priority="100">
|
||||
<global-properties object="globals"/>
|
||||
</object>
|
||||
|
||||
<object name="venice-dlg-manager" classname="com.silverwrist.venice.dialog.VeniceDialogManager" priority="101">
|
||||
<providers button="venice-buttons" content="venice-content"/>
|
||||
</object>
|
||||
|
||||
<object name="venice-auditor" classname="com.silverwrist.venice.app.StartupShutdownAuditor" priority="100"/>
|
||||
|
||||
<object name="venice-sidebox" classname="com.silverwrist.venice.sidebox.SideboxManager" priority="100">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
</object>
|
||||
|
||||
<object name="categories" classname="com.silverwrist.venice.community.CategoryManager" priority="100">
|
||||
<database connection="data"/>
|
||||
</object>
|
||||
|
||||
<object name="adv-users" classname="com.silverwrist.venice.app.AdvancedUserManager" priority="100">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
<security object="srm"/>
|
||||
<user-manager object="users"/>
|
||||
</object>
|
||||
|
||||
<object name="communities" classname="com.silverwrist.venice.community.CommunityManager" priority="101">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
<security object="srm"/>
|
||||
<user-manager object="users"/>
|
||||
<providers categories="categories"/>
|
||||
</object>
|
||||
|
||||
<!-- Additional objects for SourceID interface -->
|
||||
|
||||
<object name="sso" classname="com.silverwrist.venice.sourceid.FederationManagerObject" priority="20">
|
||||
<database connection="data" userproxy="users"/>
|
||||
</object>
|
||||
|
||||
<!-- The Venice application layer -->
|
||||
<application name="venice" classname="com.silverwrist.venice.app.VeniceApplication">
|
||||
<stylesheet-mappings>
|
||||
<stylesheet path="/stylesheet-base.css" prefix="base"/>
|
||||
<stylesheet path="/stylesheet-advanced.css" prefix="adv"/>
|
||||
</stylesheet-mappings>
|
||||
</application>
|
||||
|
||||
</configuration>
|
||||
@@ -1,46 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
|
||||
<!--
|
||||
The contents of this file are subject to the Mozilla Public License Version 1.1
|
||||
(the "License"); you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
||||
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing rights and limitations under the License.
|
||||
|
||||
The Original Code is the Venice Web Communities System.
|
||||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001-03 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
|
||||
|
||||
<!-- Define the standard file appender. -->
|
||||
<appender name="STDLOG" class="org.apache.log4j.RollingFileAppender">
|
||||
<param name="File" value="@LOGDIR@/venice-sp.log"/>
|
||||
<param name="Append" value="true"/>
|
||||
<param name="MaxFileSize" value="10MB"/>
|
||||
<param name="MaxBackupIndex" value="5"/>
|
||||
<layout class="org.apache.log4j.PatternLayout">
|
||||
<param name="ConversionPattern" value="%d %-5p %c{2} [%t %x] - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
|
||||
<layout class="org.apache.log4j.PatternLayout">
|
||||
<param name="ConversionPattern" value="[%t] %-5p %c %x - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<!-- Define the root configuration for logging. -->
|
||||
<root>
|
||||
<priority value="debug"/>
|
||||
<appender-ref ref="STDLOG"/>
|
||||
<appender-ref ref="CONSOLE"/>
|
||||
</root>
|
||||
|
||||
</log4j:configuration>
|
||||
@@ -38,8 +38,6 @@
|
||||
will already cleanup it's own session tracking info for the user, effectively logging them out of SourceID-SSO.
|
||||
By putting an attribute key here, you can have SourceID-SSO log the user out of your application as well.
|
||||
Future versions of SourceID-SSO will also support JAAS-based login/logout.
|
||||
|
||||
The sample value below works for the sample JSP-based application distributed with SourceID-SSO.
|
||||
-->
|
||||
<remove-session-attribute-on-logout>dynamo.session</remove-session-attribute-on-logout>
|
||||
|
||||
|
||||
@@ -1,351 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
The contents of this file are subject to the Mozilla Public License Version 1.1
|
||||
(the "License"); you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
||||
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing rights and limitations under the License.
|
||||
|
||||
The Original Code is the Venice Web Communities System.
|
||||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2002-03 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<!DOCTYPE web-app
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
||||
"http://java.sun.com/dtd/web-app_2_3.dtd">
|
||||
<web-app>
|
||||
<display-name>Venice Web Communities System</display-name>
|
||||
<description>
|
||||
Venice Web Communities System (TODO: fill out description)
|
||||
Contains SourceID-SSO, configured as Service Provider
|
||||
</description>
|
||||
|
||||
<!-- Context parameters -->
|
||||
|
||||
<context-param>
|
||||
<param-name>logging.config</param-name>
|
||||
<param-value>WEB-INF/logging.xml</param-value>
|
||||
<description>
|
||||
The path and file name of the Log4J logger configuration file, relative to the application root.
|
||||
</description>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<param-name>dynamo.config</param-name>
|
||||
<param-value>WEB-INF/dynamo.xml</param-value>
|
||||
<description>
|
||||
The path and file name of the base Dynamo configuration file, relative to the application root.
|
||||
The default, if not specified, is "WEB-INF/dynamo.xml".
|
||||
</description>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<param-name>SSO.config.attrs</param-name>
|
||||
<param-value>object=sso</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- Servlet definitions -->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>ScriptExec</servlet-name>
|
||||
<description>Executes a scripting file as a servlet.</description>
|
||||
<servlet-class>com.silverwrist.dynamo.servlet.ScriptExecServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>remove.extension</param-name>
|
||||
<param-value>vs</param-value>
|
||||
<description>
|
||||
The extension which is used in the servlet mapping to distinguish scripts to execute. This
|
||||
extension is removed from the servlet path to create the script name.
|
||||
</description>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>script.prefix</param-name>
|
||||
<param-value>/scripts</param-value>
|
||||
<description>
|
||||
The resource prefix to use for scripts. This is prepended to the servlet path to create the
|
||||
script name which is executed.
|
||||
</description>
|
||||
</init-param>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>XmlRpc</servlet-name>
|
||||
<description>Executes XML-RPC requests.</description>
|
||||
<servlet-class>com.silverwrist.dynamo.xmlrpc.XmlRpcServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>subsystem.object</param-name>
|
||||
<param-value>xmlrpc</param-value>
|
||||
<description>
|
||||
The object name of the XML-RPC subsystem object. Must match the name configured for the
|
||||
com.silverwrist.dynamo.xmlrpc.XmlRpcSubSystem object in dynamo.xml.
|
||||
</description>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>Remapper</servlet-name>
|
||||
<description>Remaps URLs to other URLs programmatically.</description>
|
||||
<servlet-class>com.silverwrist.dynamo.servlet.RemapperServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>data.object</param-name>
|
||||
<param-value>remapper</param-value>
|
||||
<description>
|
||||
The object name of the remapper data object. Must match the name configured for the
|
||||
com.silverwrist.dynamo.servlet.RemapperData object in dynamo.xml.
|
||||
</description>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>Image</servlet-name>
|
||||
<description>Serves up images from the ImageStore.</description>
|
||||
<servlet-class>com.silverwrist.dynamo.servlet.ImageServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>image.store</param-name>
|
||||
<param-value>images</param-value>
|
||||
<description>
|
||||
The object name of the image store object. Must match the name configured for the
|
||||
com.silverwrist.dynamo.db.ImageStoreObject object in dynamo.xml.
|
||||
</description>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>StyleSheet</servlet-name>
|
||||
<description>Serves up CSS stylesheets for use by the frame.</description>
|
||||
<servlet-class>com.silverwrist.venice.frame.StyleSheetServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>Frame</servlet-name>
|
||||
<description>Frames static pages within the outer Venice frame.</description>
|
||||
<servlet-class>com.silverwrist.venice.servlet.FrameServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>content.prefix</param-name>
|
||||
<param-value>static</param-value>
|
||||
<description>
|
||||
The prefix to apply to the static content path before retrieving it. Interpreted
|
||||
relative to the Web application root (i.e. where Web content normally gets linked from).
|
||||
</description>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cache.hard.limit</param-name>
|
||||
<param-value>5</param-value>
|
||||
<description>
|
||||
Maximum number of documents that will be hard-cached by this servlet. Must be at least 1.
|
||||
</description>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>cache.soft.limit</param-name>
|
||||
<param-value>10</param-value>
|
||||
<description>
|
||||
Maximum number of documents that will be soft-cached by this servlet. Will always be at least
|
||||
twice the number of hard-cached documents.
|
||||
</description>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>PasswordRecovery</servlet-name>
|
||||
<description>Used to access the password recovery feature; changes user passwords.</description>
|
||||
<servlet-class>com.silverwrist.venice.session.PasswordRecoveryServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>User</servlet-name>
|
||||
<description>Displays user profiles.</description>
|
||||
<servlet-class>com.silverwrist.venice.servlet.UserServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>Community</servlet-name>
|
||||
<description>Displays the community homepage.</description>
|
||||
<servlet-class>com.silverwrist.venice.servlet.CommunityServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- BEGIN SourceID-SSO Servlets -->
|
||||
|
||||
<!-- SourceID-SSO Manager Servlet (configuration is loaded here) -->
|
||||
<servlet>
|
||||
<servlet-name>SourceID-SSO-Manager</servlet-name>
|
||||
<description>Loads configuration at boot time, and provides instrumentation and admin control</description>
|
||||
<servlet-class>org.sourceid.sso.servlets.Manager</servlet-class>
|
||||
<load-on-startup>15</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!-- SourceID-SSO Authenticator Servlet -->
|
||||
<servlet>
|
||||
<servlet-name>SourceID-SSO-Authenticator</servlet-name>
|
||||
<description>Provides Identity Provider (IDP) Authentication Services</description>
|
||||
<servlet-class>org.sourceid.sso.servlets.Authenticator</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- SourceID-SSO AuthnRequestor Servlet -->
|
||||
<servlet>
|
||||
<servlet-name>SourceID-SSO-AuthnRequestor</servlet-name>
|
||||
<description>Provides Service Provider (SP) Authentication Request Services</description>
|
||||
<servlet-class>org.sourceid.sso.servlets.AuthnRequestor</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- SourceID-SSO Federation Terminator Servlet -->
|
||||
<servlet>
|
||||
<servlet-name>SourceID-SSO-FederationTerminator</servlet-name>
|
||||
<description>Provides Federation Termination Services</description>
|
||||
<servlet-class>org.sourceid.sso.servlets.FederationTerminator</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- SourceID-SSO Federation Terminator Servlet -->
|
||||
<servlet>
|
||||
<servlet-name>SourceID-SSO-Logout</servlet-name>
|
||||
<description>Provides Single Logout Services</description>
|
||||
<servlet-class>org.sourceid.sso.servlets.Logout</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- SourceID-SSO Federation Terminator Servlet -->
|
||||
<servlet>
|
||||
<servlet-name>SourceID-SSO-NameRegistrar</servlet-name>
|
||||
<description>Provides Single Logout Services</description>
|
||||
<servlet-class>org.sourceid.sso.servlets.NameRegistrar</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- Apache Axis (SOAP) Servlets -->
|
||||
<servlet>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<display-name>Apache-Axis Servlet</display-name>
|
||||
<servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>AdminServlet</servlet-name>
|
||||
<display-name>Axis Admin Servlet</display-name>
|
||||
<servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>
|
||||
<load-on-startup>100</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>SOAPMonitorService</servlet-name>
|
||||
<display-name>SOAPMonitorService</display-name>
|
||||
<servlet-class>org.apache.axis.monitor.SOAPMonitorService</servlet-class>
|
||||
<init-param>
|
||||
<param-name>SOAPMonitorPort</param-name>
|
||||
<param-value>5001</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>100</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!-- END SourceID-SSO Servlets -->
|
||||
|
||||
<!-- Servlet mappings -->
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>ScriptExec</servlet-name>
|
||||
<url-pattern>*.vs</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>XmlRpc</servlet-name>
|
||||
<url-pattern>/RPC2</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>Remapper</servlet-name>
|
||||
<url-pattern>/verifyemail</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>Image</servlet-name>
|
||||
<url-pattern>/imagedata/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>StyleSheet</servlet-name>
|
||||
<url-pattern>/stylesheet-base.css</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>StyleSheet</servlet-name>
|
||||
<url-pattern>/stylesheet-advanced.css</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>Frame</servlet-name>
|
||||
<url-pattern>/frame/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>PasswordRecovery</servlet-name>
|
||||
<url-pattern>/passrecovery/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>User</servlet-name>
|
||||
<url-pattern>/user/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>Community</servlet-name>
|
||||
<url-pattern>/community/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>Community</servlet-name>
|
||||
<url-pattern>/sig/*</url-pattern> <!-- the backwards-compatible mapping -->
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- BEGIN SourceID-SSO Servlet Mappings -->
|
||||
|
||||
<!-- Authenticator Servlet -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>SourceID-SSO-Authenticator</servlet-name>
|
||||
<url-pattern>/sso/authn</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- AuthnRequestor Servlet -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>SourceID-SSO-AuthnRequestor</servlet-name>
|
||||
<url-pattern>/sso/authnRequest</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- FederationTerminator Servlet -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>SourceID-SSO-FederationTerminator</servlet-name>
|
||||
<url-pattern>/sso/fedterm</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- Logout Servlet -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>SourceID-SSO-Logout</servlet-name>
|
||||
<url-pattern>/sso/logout</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- NameRegistrar Servlet -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>SourceID-SSO-NameRegistrar</servlet-name>
|
||||
<url-pattern>/sso/rni</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- SOAP Handler -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>/sso/soap/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- END SourceID-SSO Servlet Mappings -->
|
||||
|
||||
<!-- Global parameters for the HTTP session -->
|
||||
<session-config>
|
||||
<session-timeout>60</session-timeout> <!-- 1 hour -->
|
||||
</session-config>
|
||||
|
||||
<!-- The list of "welcome files" for the application -->
|
||||
<welcome-file-list>
|
||||
<welcome-file>default.jsp</welcome-file>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
</web-app>
|
||||
Reference in New Issue
Block a user