Ignore:
Timestamp:
04/12/12 01:58:53 (10 years ago)
Author:
Garth Braithwaite
Message:

java and view - email verification code working. updated systemid modelmaps to use verified file, then the new resource then classpath system id lookup. many of the modelmap objects were changed from "XML" to the more generic "file". Renamed the saxon*.jars to include the exact version number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main/webapps/ibisph-view/WEB-INF/config/spring/user.xml

    r3706 r3710  
    177177        </bean>
    178178        <bean id="User.HTMLContent.ModelMap" class="org.ibisph.systemid.modelmap.SystemIDFromHTTPRequestEndOfPathInfo" parent="Common.XMLModelMap.CommonProperties">
    179                 <property name="XMLPath" ref="User.HTMLContent.XML.Path"/>
     179                <property name="FilePath" ref="User.HTMLContent.XML.Path"/>
    180180        </bean>
    181181
     
    190190        </bean>
    191191
    192         <bean id="User.VerifyUserRegistration.ModelMap" class="org.ibisph.user.modelmap.VerifyUserProfile">
     192        <bean id="User.ProcessUserRegistration.ModelMap" class="org.ibisph.user.modelmap.ProcessUserRegistration">
    193193                <property name="userProfileModelMapKey" ref="User.UserProfile.ModelMapKey"/>
    194194                <property name="userProfileService"     ref="User.XML.Service"/>
    195195                <property name="emailVerificationService" ref="User.EmailVerification.Service"/>
     196        </bean>
     197
     198        <bean id="User.VerifyUserRegistration.ModelMap" class="org.ibisph.user.modelmap.VerifyUserRegistration">
     199                <property name="userProfileModelMapKey" ref="User.UserProfile.ModelMapKey"/>
     200                <property name="userProfileService"     ref="User.XML.Service"/>
    196201        </bean>
    197202
     
    239244        </bean>
    240245
    241         <bean id="User.SaveRegistration.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController">
     246        <bean id="User.ProcessUserRegistration.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController">
    242247                <description>
    243248                        /save/user/registration
     
    256261                        <list>
    257262                                <ref bean="User.UserRegistrationFromHTTPRequest.ModelMap"/>
     263                                <ref bean="User.ProcessUserRegistration.ModelMap"/>
     264                                <ref bean="User.StatusHTMLContent.ModelMap"/>
     265                                <ref bean="Common.ModifiedDateFromFileSystemID.ModelMap"/>
     266                                <ref bean="Common.WebAppURLContextPrefixFromHTTPRequest.ModelMap"/>
     267                        </list>
     268                </property>
     269                <property name="view" ref="User.Status.View"/>
     270        </bean>
     271
     272<bean id="User.VerifyUserRegistration.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController">
     273                <description>
     274                        verify/user/registration/email address/session id
     275                        1) parse the username and verification code from the end of the request URL.
     276                        2) If matches set the status to VERIFIED
     277                        3)   and save.
     278                        4) Else MESSAGE DOESN"T MATCH CONTACT SYS ADMIN.
     279                        5) message page has a link with verify page.
     280                </description>
     281                <property name="modelMapList">
     282                        <list>
    258283                                <ref bean="User.VerifyUserRegistration.ModelMap"/>
    259284                                <ref bean="User.StatusHTMLContent.ModelMap"/>
     
    265290        </bean>
    266291
    267 <bean id="User.VerifyRegistration.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController">
    268         </bean>
    269 
    270292<bean id="User.EditProfile.Controller" class="org.ibisph.web.springmvc.ModelMapListProcessingController">
    271293        </bean>
     
    282304
    283305        <bean id="User.QuerySelectionList.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID">
    284                 <constructor-arg ref="Common.Context.Servlet.RootPath"/>
     306                <constructor-arg ref="Common.Webapp.RootPath"/>
    285307                <constructor-arg value="xslt/html/user/queryselections/SelectionPage.xslt"/>
    286308        </bean>
     
    310332        <!--  V I E W   R E S O U R C E S  -->
    311333        <bean id="User.HTMLContent.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID">
    312                 <constructor-arg ref="Common.Context.Servlet.RootPath"/>
     334                <constructor-arg ref="Common.Webapp.RootPath"/>
    313335                <constructor-arg value="xslt/html/user/HTMLContentPage.xslt"/>
    314336        </bean>
    315337
    316338        <bean id="User.Status.XSLT.SystemID" class="org.ibisph.systemid.FileSystemID">
    317                 <constructor-arg ref="Common.Context.Servlet.RootPath"/>
     339                <constructor-arg ref="Common.Webapp.RootPath"/>
    318340                <constructor-arg value="xslt/html/user/status/StatusHTMLContentPage.xslt"/>
    319341        </bean>
Note: See TracChangeset for help on using the changeset viewer.