b.nuiton-security.1.19.source-code.struts.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nuiton-security Show documentation
Show all versions of nuiton-security Show documentation
Security module based on ToPIA
<!-- #%L Nuiton Web :: Nuiton Security %% Copyright (C) 2012 - 2013 CodeLutin, Chatellier Eric %% This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Lesser Public License for more details. You should have received a copy of the GNU General Lesser Public License along with this program. If not, see <http://www.gnu.org/licenses/lgpl-3.0.html>. #L% --> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"> <struts> <package name="org.nuiton.web.secu.actions" namespace="/security" extends="struts-default"> <default-action-ref name="user-roles"/> <action name="user-roles" class="org.nuiton.web.security.actions.UserRolesAction"> <result name="input">/WEB-INF/security/user-roles.jsp</result> <result name="success" type="redirectAction"> <param name="actionName">user-roles</param> </result> </action> <action name="role-permissions" class="org.nuiton.web.security.actions.RolePermissionsAction"> <result name="input">/WEB-INF/security/role-permissions.jsp</result> <result name="success" type="redirectAction"> <param name="actionName">role-permissions</param> </result> </action> <action name="role" class="org.nuiton.web.security.actions.RoleAction"> <result name="input">/WEB-INF/security/role.jsp</result> <result name="success" type="redirectAction"> <param name="actionName">user-roles</param> </result> </action> <action name="user" class="org.nuiton.web.security.actions.UserAction"> <result name="input">/WEB-INF/security/user.jsp</result> <result name="success" type="redirectAction"> <param name="actionName">user-roles</param> </result> </action> <action name="login" class="org.nuiton.web.security.actions.LoginAction"> <result name="input">/WEB-INF/security/login.jsp</result> <result name="success" type="redirectAction"> <param name="actionName">user-roles</param> </result> <result name="redirect" type="redirect">${savedUrl}</result> </action> <action name="logout" class="org.nuiton.web.security.actions.LogoutAction"> <result name="success" type="redirectAction"> <param name="actionName">index</param> <param name="namespace">/</param> </result> </action> </package> </struts>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy