All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ntando.entando-admin-console.6.1.0.source-code.struts.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
    "http://struts.apache.org/dtds/struts-2.5.dtd">

<struts>
    
	<bean type="org.apache.struts2.dispatcher.StaticContentLoader" 
		  class="com.agiletec.apsadmin.system.dispatcher.EntandoStaticContentLoader" name="entandoStaticContentLoader" />
	<bean type="com.opensymphony.xwork2.LocalizedTextProvider" 
		  name="entandoLocalizedTextProvider" class="org.entando.entando.apsadmin.system.resource.CustomLocalizedTextProvider" scope="singleton" />
    
	<constant name="struts.staticContentLoader" value="entandoStaticContentLoader" />
	<constant name="struts.localizedTextProvider" value="entandoLocalizedTextProvider" />
	<constant name="struts.enable.DynamicMethodInvocation" value="false" />
	<constant name="struts.devMode" value="false" />
    
	<package name="entando-default" extends="tiles-default">
    	
		<result-types>
			<result-type name="redirectActionWithAnchor" class="com.agiletec.apsadmin.system.dispatcher.ServletActionRedirectResultWithAnchor" />
			<result-type name="json" class="org.apache.struts2.json.JSONResult"/>
		</result-types>
    	
		<interceptors>
			
			<interceptor name="requestAuth" class="com.agiletec.apsadmin.system.InterceptorMadMax" />
			<interceptor name="backofficeRequestAuth" class="com.agiletec.apsadmin.system.InterceptorMadMax2nd" />
			<interceptor name="apsParams" class="org.entando.entando.apsadmin.system.ApsParametersInterceptor" />
			<interceptor name="chain" class="com.agiletec.apsadmin.system.ChainingInterceptor" />
			<interceptor name="apsFileUpload" class="com.agiletec.apsadmin.system.ApsFileUploadInterceptor" />
			<interceptor name="entandoActionLogger" class="org.entando.entando.apsadmin.system.ActionLoggerInterceptor" />	
			<interceptor name="entandoToken" class="org.entando.entando.apsadmin.system.CustomTokenInterceptor" />	
			<interceptor name="redirectMessage" class="org.entando.entando.apsadmin.system.RedirectMessageInterceptor" />
			
			<interceptor-stack name="entandoFreeStack">
				<interceptor-ref name="exception"/>
				<interceptor-ref name="alias"/>
				<interceptor-ref name="servletConfig"/>
				<interceptor-ref name="prepare"/>
				<interceptor-ref name="i18n"/>
				<interceptor-ref name="chain"/>
				<interceptor-ref name="debugging"/>
				<interceptor-ref name="checkbox"/>
				<interceptor-ref name="staticParams"/>
				<interceptor-ref name="apsParams"/>
				<interceptor-ref name="conversionError"/>
			</interceptor-stack>
			
			<interceptor-stack name="entandoFreeValidationStack">
				<interceptor-ref name="entandoFreeStack" />
				<interceptor-ref name="validation">
					<param name="excludeMethods">input,back,cancel</param>
				</interceptor-ref>
				<interceptor-ref name="workflow">
					<param name="excludeMethods">input,back,cancel</param>
				</interceptor-ref>
			</interceptor-stack>
			
			<interceptor-stack name="entandoDefaultStack">
				<interceptor-ref name="backofficeRequestAuth"/>
				<interceptor-ref name="requestAuth"/>
				<interceptor-ref name="entandoFreeStack"/>
			</interceptor-stack>
			
			<interceptor-stack name="entandoValidationStack">
				<interceptor-ref name="backofficeRequestAuth"/>
				<interceptor-ref name="requestAuth"/>
				<interceptor-ref name="entandoFreeValidationStack" />
			</interceptor-stack>
			
		</interceptors>
    	
		<global-results>
			<result name="homepage">/index.jsp</result>
			<result name="failure">/WEB-INF/apsadmin/jsp/common/error.jsp</result>
			<result name="userNotAllowed" type="tiles">admin.userNotAllowedMessage</result>
			<result name="apslogin" type="redirectAction">
				<param name="actionName">login</param>
				<param name="namespace">/do</param>
			</result>
		</global-results>
    	
	</package>
    
	<package name="entando-front-default" extends="entando-default">
		
		<result-types>
			<result-type name="frontRedirectAction" class="org.entando.entando.aps.internalservlet.system.dispatcher.FrontServletActionRedirectResult" />
			<result-type name="guiFragment" class="org.entando.entando.aps.internalservlet.system.dispatcher.GuiFragmentResult" />
		</result-types>
        
		<interceptors>
            
			<interceptor name="i18nFrontEnd" class="org.entando.entando.aps.internalservlet.system.I18nFrontEndInterceptor" />
            
			<interceptor-stack name="entandoFrontEndFreeStack">
				<interceptor-ref name="exception"/>
				<interceptor-ref name="alias"/>
				<interceptor-ref name="servletConfig"/>
				<interceptor-ref name="prepare"/>
				<interceptor-ref name="i18nFrontEnd"/>
				<interceptor-ref name="chain"/>
				<interceptor-ref name="debugging"/>
				<interceptor-ref name="checkbox"/>
				<interceptor-ref name="staticParams"/>
				<interceptor-ref name="apsParams"/>
				<interceptor-ref name="conversionError"/>
			</interceptor-stack>
            
			<interceptor-stack name="entandoFrontEndStack">
				<interceptor-ref name="requestAuth"/>
				<interceptor-ref name="entandoFrontEndFreeStack"/>
			</interceptor-stack>
            
			<interceptor-stack name="entandoFrontEndFreeValidationStack">
				<interceptor-ref name="entandoFrontEndFreeStack" />
				<interceptor-ref name="validation">
					<param name="excludeMethods">input,back,cancel</param>
				</interceptor-ref>
				<interceptor-ref name="workflow">
					<param name="excludeMethods">input,back,cancel</param>
				</interceptor-ref>
			</interceptor-stack>
            
			<interceptor-stack name="entandoFrontEndValidationStack">
				<interceptor-ref name="requestAuth"/>
				<interceptor-ref name="entandoFrontEndFreeValidationStack" />
			</interceptor-stack>
			
		</interceptors>
    	
		<global-results>
			<result name="failure" type="guiFragment">
				<param name="code">internal_servlet_generic_error</param>
				<param name="jspLocation">/WEB-INF/aps/jsp/system/internalServlet_error.jsp</param>
			</result>
			<result name="userNotAllowed" type="guiFragment">
				<param name="code">internal_servlet_user_not_allowed</param>
				<param name="jspLocation">/WEB-INF/aps/jsp/system/internalServlet_userNotAllowed.jsp</param>
			</result>
		</global-results>
		
	</package>
	
	<include file="com/agiletec/apsadmin/admin/baseAdmin.xml" />
	<include file="com/agiletec/apsadmin/admin/lang/lang.xml" />
	<include file="org/entando/entando/apsadmin/admin/database.xml" />
	<include file="com/agiletec/apsadmin/admin/localestring/localeString.xml" />
    
	<include file="com/agiletec/apsadmin/common/common.xml" />
	<include file="org/entando/entando/apsadmin/common/common.xml"/>
	<include file="org/entando/entando/apsadmin/common/currentuser/currentUserProfile.xml" />
	
	<include file="com/agiletec/apsadmin/category/category.xml" />
    
	<include file="com/agiletec/apsadmin/portal/page.xml" />
	<include file="com/agiletec/apsadmin/portal/specialwidget/specialWidget.xml" />
	<include file="com/agiletec/apsadmin/portal/widgetType.xml" />
	<include file="org/entando/entando/apsadmin/portal/guifragment/guiFragment.xml"/>
	<include file="org/entando/entando/apsadmin/portal/model/pageModel.xml" />
	
	<include file="org/entando/entando/apsadmin/user/user.xml" />
	<include file="org/entando/entando/apsadmin/user/userprofile.xml" />
	<include file="com/agiletec/apsadmin/user/role/role.xml" />
	<include file="com/agiletec/apsadmin/user/group/group.xml" />
    
	<include file="com/agiletec/apsadmin/system/entity/entity.xml"/>
	<include file="com/agiletec/apsadmin/system/entity/type/entity.xml"/>
	
	<include file="org/entando/entando/apsadmin/api/api.xml" />
	
	<include file="org/entando/entando/apsadmin/filebrowser/filebrowser.xml"/>
	
	<include file="org/entando/entando/aps/internalservlet/api/api.xml" />
	<include file="org/entando/entando/aps/internalservlet/user/currentUserProfile.xml"/>
	
	<include file="org/entando/entando/apsadmin/dataobject/model/dataObjectModel.xml" />
	
</struts>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy