[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0.CR1 and JBAS-4282

poss do-not-reply at jboss.com
Fri Aug 1 10:25:31 EDT 2008


Thanks for your help.
Here are the files.

********* faces-navigation ****************

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">

<!--

 ========================================================================

 Copyright © 2007 Novell, Inc. All Rights Reserved.



 THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES

 NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED COPIED, DISTRIBUTED,

 REVISED, MODIFIED, TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED,

 COMPILED, LINKED, RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN

 CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT

 AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL 

 LIABILITY.



 ========================================================================

-->

<faces-config>

  <navigation-rule>

      <navigation-case>

        <from-outcome>chooseUser</from-outcome>

        <to-view-id>/jsps/login/LoginMultiple.jsf</to-view-id>

      </navigation-case>

  </navigation-rule>

  <navigation-rule>

      <from-view-id>/jsps/login/LoginPortlet.jsp</from-view-id>

      <navigation-case>

        <from-outcome>/portal</from-outcome>

        <to-view-id>/portal/cn/DefaultContainerPage</to-view-id>

      </navigation-case>

      <navigation-case>

        <from-outcome>returnMain</from-outcome>

        <to-view-id>/jsps/login/LoginPortlet.jsp</to-view-id>

      </navigation-case>

      <navigation-case>

        <from-outcome>HintChange.jsf</from-outcome>

        <to-view-id>/jsps/pwdmgt/HintChange.jsp</to-view-id>

      </navigation-case>

      <navigation-case>

        <from-outcome>../pwdmgt/PasswordChange.jsf</from-outcome>

        <to-view-id>/jsps/pwdmgt/RedirectPasswordChange.jsp</to-view-id>

      </navigation-case>

      <navigation-case>

        <from-outcome>../locale/SetPreferredLocale.jsf</from-outcome>

        <to-view-id>/jsps/locale/SetPreferredLocale.jsf</to-view-id>

      </navigation-case>

      <navigation-case>

        <from-outcome>../pwdmgt/ChallengeResponseChange.jsf</from-outcome>

        <to-view-id>/jsps/pwdmgt/RedirectChallengeResponseChange.jsp</to-view-id>

      </navigation-case>

  </navigation-rule>

  <navigation-rule>

      <navigation-case>

        <from-outcome>lpNext</from-outcome>

        <to-view-id>/jsps/index.jsp</to-view-id>

      </navigation-case>

  </navigation-rule>

  <navigation-rule>

      <navigation-case>

        <from-outcome>returnMain</from-outcome>

        <to-view-id>/jsps/login/Login.jsf</to-view-id>

      </navigation-case>

  </navigation-rule>

  <navigation-rule>

      <navigation-case>

        <from-outcome>showGraceWarning</from-outcome>

        <to-view-id>/jsps/login/LoginGraceWarning.jsf</to-view-id>

      </navigation-case>

  </navigation-rule>

  <navigation-rule>

      <navigation-case>

        <from-outcome>forgotPassword</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotPassword.jsf</to-view-id>

      </navigation-case>

  </navigation-rule>	

   <navigation-rule>

      	<from-view-id>/jsps/pwdmgt/PasswordChange.jsp</from-view-id>

       <navigation-case>

        <from-outcome>ChangeAgain</from-outcome>

        <to-view-id>/jsps/pwdmgt/PasswordChange.jsp</to-view-id>

      </navigation-case>

  </navigation-rule>	   

   <navigation-rule>

      	<from-view-id>/jsps/pwdmgt/HintChange.jsp</from-view-id>

      <navigation-case>

        <from-outcome>redirectToSync</from-outcome>

        <to-view-id>/jsps/pwdmgt/PasswordSyncStatus.jsp</to-view-id>

      </navigation-case>

      <navigation-case>

        <from-outcome>success</from-outcome>

        <to-view-id>/jsps/pwdmgt/HintChange.jsp</to-view-id>

      </navigation-case>

  </navigation-rule>	

  <navigation-rule>

      	<from-view-id>/jsps/pwdmgt/PasswordSyncStatus.jsp</from-view-id>

      <navigation-case>

        <from-outcome>ChangeAgain</from-outcome>

        <to-view-id>/jsps/pwdmgt/PasswordChange.jsf</to-view-id>

      </navigation-case>

  </navigation-rule>  

  <navigation-rule>

     	<from-view-id>/jsps/pwdmgt/ForgotPassword.jsp</from-view-id>

      <navigation-case>

        <from-action>#{forgotPasswordBean.processSubmit}</from-action>				  

        <from-outcome>challengeResponse</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotChallengeResponse.jsp</to-view-id>

      </navigation-case>

      <navigation-case>

        <from-action>#{forgotPasswordBean.processSubmit}</from-action>		  

        <from-outcome>forgotSuccess</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotSuccess.jsf</to-view-id>

      </navigation-case>	  

      <navigation-case>

        <from-action>#{forgotPasswordBean.processSubmit}</from-action>				  

        <from-outcome>multipleUser</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotPasswordMultiple.jsf</to-view-id>

      </navigation-case>	  

  </navigation-rule>  

  <navigation-rule>

	  <from-view-id>/jsps/pwdmgt/ForgotChallengeResponse.jsp</from-view-id>

	 <navigation-case>

        <from-action>#{forgotPasswordBean.processSubmit}</from-action>		  

        <from-outcome>forgotSuccess</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotSuccess.jsf</to-view-id>

      </navigation-case>

	  <navigation-case>

        <from-action>#{forgotPasswordBean.processSubmit}</from-action>		  

        <from-outcome>changePassword</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotPasswordChange.jsf</to-view-id>

      </navigation-case>		  

  </navigation-rule>  

  <navigation-rule>	

		  <from-view-id>/jsps/pwdmgt/ForgotPasswordChange.jsp</from-view-id>

	     <navigation-case>

        <from-action>#{forgotPasswordBean.processPasswordSubmit}</from-action>		  

        <from-outcome>forgotSuccess</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotSuccess.jsf</to-view-id>

      </navigation-case>

</navigation-rule>  		  	  	  

 <navigation-rule>

     	<from-view-id>/jsps/pwdmgt/ForgotPasswordMultiple.jsp</from-view-id>

        <navigation-case>

        <from-action>#{forgotPasswordBean.processMultipleSubmit}</from-action>				  

        <from-outcome>challengeResponse</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotChallengeResponse.jsp</to-view-id>

      </navigation-case>

	 <navigation-case>

        <from-action>#{forgotPasswordBean.processMultipleSubmit}</from-action>		  

        <from-outcome>forgotSuccess</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotSuccess.jsf</to-view-id>

      </navigation-case>

  </navigation-rule> 	 	 		

  <navigation-rule>

      <navigation-case>

        <from-outcome>returnForgot</from-outcome>

        <to-view-id>/jsps/pwdmgt/ForgotPassword.jsf</to-view-id>

      </navigation-case>

  </navigation-rule>  	

</faces-config>





********* faces-managed-beans ************

<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">

<!--

 ========================================================================



 Copyright © 2008 Novell, Inc. All Rights Reserved.



 THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES

 NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED COPIED, DISTRIBUTED,

 REVISED, MODIFIED, TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED,

 COMPILED, LINKED, RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN

 CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT

 AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL 

 LIABILITY.



 ========================================================================

-->

<faces-config>

  <managed-bean>

    Bean used to handle all User Information within Password Managment pages.

    <managed-bean-name>userEntityBean</managed-bean-name>

    <managed-bean-class>com.novell.pwdmgt.jsf.bean.UserEntityBean</managed-bean-class>

    <managed-bean-scope>session</managed-bean-scope>

    <managed-property>

        User Name

        <display-name>User Name</display-name>

        

        <property-name>userName</property-name>

        <property-class>java.lang.String</property-class>

        

  </managed-property>

  </managed-bean>

  <managed-bean>

    Bean used to handle hint changes.

    <managed-bean-name>hintChangeBean</managed-bean-name>

    <managed-bean-class>com.novell.pwdmgt.jsf.bean.HintChangeBean</managed-bean-class>

    <managed-bean-scope>session</managed-bean-scope>

    <managed-property>

        Hint Value

        <display-name>Hint Value</display-name>

        

        <property-name>userHint</property-name>

        <property-class>java.lang.String</property-class>

        

  </managed-property>

  </managed-bean>  

   <managed-bean>

    Bean used to handle password changes.   

  	<managed-bean-name>pwdChangeBean</managed-bean-name>

  	<managed-bean-class>com.novell.pwdmgt.jsf.bean.PwdChangeBean</managed-bean-class>

  	<managed-bean-scope>session</managed-bean-scope>

         	

    </managed-bean>

   <managed-bean>

    Bean used to handle challenge response data.   

  	<managed-bean-name>challengeResponseBean</managed-bean-name>

  	<managed-bean-class>com.novell.pwdmgt.jsf.bean.ChallengeResponseBean</managed-bean-class>

  	<managed-bean-scope>session</managed-bean-scope>

   </managed-bean>

 <managed-bean>

    Bean used to handle all Forgot Password Information within Password Management pages.

    <managed-bean-name>forgotPasswordBean</managed-bean-name>

    <managed-bean-class>com.novell.pwdmgt.jsf.bean.ForgotPasswordBean</managed-bean-class>

    <managed-bean-scope>session</managed-bean-scope>

    <managed-property>

        User Name

        <display-name>User Name</display-name>

        

        <property-name>userName</property-name>

        <property-class>java.lang.String</property-class>

        

  </managed-property>

  </managed-bean>	   

   <managed-bean>

       <managed-bean-name>makeList</managed-bean-name>

       <managed-bean-class>com.novell.pwdmgt.jsf.bean.ListFromCollection</managed-bean-class>

       <managed-bean-scope>session</managed-bean-scope>

   </managed-bean>

     

    <validator-id>challengeResponseValidator</validator-id>

     <validator-class>com.novell.pwdmgt.jsf.bean.ChallengeResponseValidator</validator-class> 

    

    <managed-bean>

    Bean used to handle all set locale operations.

    <managed-bean-name>setLocalePref</managed-bean-name>

    <managed-bean-class>com.novell.soa.common.i18n.SetLocalePreferenceBean</managed-bean-class>

    <managed-bean-scope>session</managed-bean-scope>

  </managed-bean> 

   <managed-bean>

    Bean password policy status.

    <managed-bean-name>policyStatusBean</managed-bean-name>

    <managed-bean-class>com.novell.pwdmgt.jsf.bean.PolicyStatusBean</managed-bean-class>

    <managed-bean-scope>session</managed-bean-scope>

  </managed-bean> 

   <managed-bean>

    Bean password auth check.

    <managed-bean-name>postAuthCheckBean</managed-bean-name>

    <managed-bean-class>com.novell.pwdmgt.jsf.bean.PostAuthCheckBean</managed-bean-class>

    <managed-bean-scope>session</managed-bean-scope>

  </managed-bean>   

</faces-config>



******** faces-config **************

<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">

<!--

 ========================================================================



 Copyright © 2007 Novell, Inc. All Rights Reserved.



 THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES

 NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED COPIED, DISTRIBUTED,

 REVISED, MODIFIED, TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED,

 COMPILED, LINKED, RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN

 CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT

 AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL 

 LIABILITY.



 ========================================================================

-->

<faces-config>

  

    <view-handler>

      com.novell.afw.portal.portlet.jsfbridge.sun.NovellViewHandlerImpl

    </view-handler>

  



  

    <component-type>pwdrules</component-type>

    <component-class>

      com.novell.pwdmgt.jsf.component.UIOutputPasswordRules

    </component-class>

  



  

    <application-factory>

      com.sun.faces.application.ApplicationFactoryImpl

    </application-factory>



    <faces-context-factory>

      com.sun.faces.context.FacesContextFactoryImpl

    </faces-context-factory>



    <lifecycle-factory>

      com.sun.faces.lifecycle.LifecycleFactoryImpl

    </lifecycle-factory>



    <render-kit-factory>

      com.sun.faces.renderkit.RenderKitFactoryImpl

    </render-kit-factory>

  



 </faces-config>





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168184#4168184

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168184




More information about the jboss-user mailing list