You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2012/04/06 11:59:32 UTC
svn commit: r1310268 [18/42] - in /archiva/redback/redback-core/trunk: ./
redback-authentication/ redback-authentication/redback-authentication-api/
redback-authentication/redback-authentication-api/src/
redback-authentication/redback-authentication-ap...
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/securityLinks.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/securityLinks.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/securityLinks.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/securityLinks.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,55 @@
+<%--
+ ~ Copyright 2005-2006 The Codehaus.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib uri="/struts-tags" prefix="s" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="/redback/taglib-1.0" prefix="redback" %>
+
+<span class="securityLinks">
+
+<c:choose>
+ <c:when test="${sessionScope.securitySession.authenticated != true}">
+ <s:url id="loginUrl" action="login" namespace="/security" includeParams="none"/>
+ <s:url id="registerUrl" action="register" namespace="/security" includeParams="none"/>
+ <s:a id="loginLink" href="%{loginUrl}"><s:text name="login"/></s:a><redback:isNotReadOnlyUserManager> - <s:a id="registerLink" href="%{registerUrl}"><s:text name="register"/></s:a></redback:isNotReadOnlyUserManager>
+ </c:when>
+ <c:otherwise>
+ <s:url id="logoutUrl" action="logout" namespace="/security" includeParams="none"/>
+ <s:url id="accountUrl" action="account" namespace="/security" includeParams="none" />
+
+ <s:text name="current.user"/>
+ <c:choose>
+ <c:when test="${sessionScope.securitySession.user != null}">
+ <span class="fullname"><s:a href="%{accountUrl}" cssClass="edit"><c:out value="${sessionScope.securitySession.user.fullName}" /></s:a></span>
+ (<span class="username"><c:out value="${sessionScope.securitySession.user.username}" /></span>)
+ </c:when>
+ <c:otherwise>
+ <span class="fullname"><s:text name="%{unknown.user}"/></span>
+ </c:otherwise>
+ </c:choose>
+
+ <redback:isNotReadOnlyUserManager>
+ - <s:a id="editUserLink" href="%{accountUrl}" cssClass="edit"><s:text name="edit.details"/></s:a>
+ </redback:isNotReadOnlyUserManager>
+ - <s:a id="logoutLink" href="%{logoutUrl}" cssClass="logout"><s:text name="logout"/></s:a>
+
+ <c:if test="${sessionScope.passwordExpirationNotification != null}">
+ - <s:text name="notify.password.expiration"/> ${sessionScope.passwordExpirationNotification}
+ </c:if>
+ </c:otherwise>
+</c:choose>
+
+</span>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/securityLinks.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/securityLinks.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/userCredentials.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/userCredentials.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/userCredentials.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/userCredentials.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,75 @@
+<%--
+ ~ Copyright 2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="/redback/taglib-1.0" prefix="redback" %>
+
+<c:choose>
+ <c:when test="${user.edit}">
+ <s:label label="%{getText('username')}" name="user.username" />
+ <s:hidden name="user.username" />
+ </c:when>
+ <c:otherwise>
+ <redback:isReadOnlyUserManager>
+ <s:label label="%{getText('username')}" name="user.username" />
+ </redback:isReadOnlyUserManager>
+ <redback:isNotReadOnlyUserManager>
+ <s:textfield label="%{getText('username')}" name="user.username" size="30" required="true"/>
+ </redback:isNotReadOnlyUserManager>
+ </c:otherwise>
+</c:choose>
+
+
+
+ <redback:isReadOnlyUserManager>
+ <s:label label="%{getText('full.name')}" name="user.fullName" />
+ </redback:isReadOnlyUserManager>
+ <redback:isNotReadOnlyUserManager>
+ <s:textfield label="%{getText('full.name')}" name="user.fullName" size="30" required="true"/>
+ </redback:isNotReadOnlyUserManager>
+
+ <redback:isReadOnlyUserManager>
+ <s:label label="%{getText('email.address')}" name="user.email" />
+ </redback:isReadOnlyUserManager>
+ <redback:isNotReadOnlyUserManager>
+ <s:textfield label="%{getText('email.address')}" name="user.email" size="50" required="true"/>
+ </redback:isNotReadOnlyUserManager>
+
+ <redback:isNotReadOnlyUserManager>
+ <c:choose>
+ <c:when test="${self}">
+ <s:password label="%{getText('current.password')}" name="oldPassword" size="20" required="true"/>
+ <s:password label="%{getText('new.password')}" name="user.password" size="20" required="true"/>
+ </c:when>
+ <c:otherwise>
+ <s:password label="%{getText('password')}" name="user.password" size="20" required="true"/>
+ </c:otherwise>
+ </c:choose>
+ <s:password label="%{getText('confirm.password')}" name="user.confirmPassword" size="20" required="true"/>
+ </redback:isNotReadOnlyUserManager>
+
+<s:if test="%{user.timestampAccountCreation != null}">
+ <s:label label="%{getText('account.creation')}" name="user.timestampAccountCreation" />
+</s:if>
+
+<s:if test="%{user.timestampLastLogin != null}">
+ <s:label label="%{getText('last.login')}" name="user.timestampLastLogin" />
+</s:if>
+
+<s:if test="%{user.timestampLastPasswordChange != null}">
+ <s:label label="%{getText('last.password.change')}" name="user.timestampLastPasswordChange" />
+</s:if>
+<s:token/>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/userCredentials.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/include/userCredentials.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/invalidToken.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/invalidToken.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/invalidToken.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/invalidToken.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,35 @@
+<%--
+ ~ Copyright 2011 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib prefix="s" uri="/struts-tags" %>
+
+<html>
+<s:i18n name="org.codehaus.plexus.redback.struts2.default">
+<head>
+ <title><s:text name="invalid.token.page.title"/></title>
+</head>
+
+<body>
+
+<h4><s:text name="invalid.token.section.title"/></h4>
+
+<p>
+ <s:text name="invalid.token.message"/>
+</p>
+
+</body>
+</s:i18n>
+</html>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/invalidToken.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/invalidToken.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/login.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/login.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/login.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/login.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,78 @@
+<%--
+ ~ Copyright 2005-2006 The Codehaus.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="/redback/taglib-1.0" prefix="redback" %>
+
+<html>
+<s:i18n name="org.codehaus.plexus.redback.struts2.default">
+<head>
+ <title><s:text name="login.page.title"/></title>
+</head>
+
+<body onload="javascript:document.forms['login'].username.focus();">
+
+
+<c:choose>
+ <c:when test="${sessionScope.securitySession.authenticated != true}">
+
+ <h2><s:text name="login.section.title"/></h2>
+
+ <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
+
+
+ <s:form action="login" namespace="/security" theme="xhtml"
+ id="loginForm" method="post" name="login" cssClass="security login">
+ <s:textfield label="%{getText('username')}" name="username" size="30" />
+ <s:password label="%{getText('password')}" name="password" size="20" />
+ <s:checkbox label="%{getText('login.remember.me')}" name="rememberMe" value="false" />
+ <s:submit value="%{getText('login')}" method="login" id="loginSubmit"/>
+ <s:submit value="%{getText('cancel')}" method="cancel" id="loginCancel" />
+ </s:form>
+<%-- TODO: Figure out how to auto-focus to first field --%>
+
+<ul class="tips">
+ <%--
+ <li>
+ Forgot your Username?
+ <s:url id="forgottenAccount" action="findAccount" />
+ <s:a href="%{forgottenAccount}">Email me my account information.</s:a>
+ </li>
+ --%>
+ <redback:isNotReadOnlyUserManager>
+ <li>
+ <s:text name="login.need.an.account"/>
+ <s:url id="registerUrl" action="register" />
+ <s:a id="registerLinkLoginPage" href="%{registerUrl}"><s:text name="login.register"/></s:a>
+ </li>
+ <li>
+ <s:text name="login.forgot.your.password"/>
+ <s:url id="forgottenPassword" action="passwordReset" />
+ <s:a id="forgottenPasswordLink" href="%{forgottenPassword}"><s:text name="login.request.password.reset"/></s:a>
+ </li>
+ </redback:isNotReadOnlyUserManager>
+</ul>
+</c:when>
+<c:otherwise>
+ <p/>
+ <s:text name="login.already.logged.in"/>
+ <p/>
+</c:otherwise>
+</c:choose>
+</body>
+</s:i18n>
+</html>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/login.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/login.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/password.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/password.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/password.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/password.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,49 @@
+<%--
+ ~ Copyright 2005-2006 The Codehaus.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+
+<html>
+<s:i18n name="org.codehaus.plexus.redback.struts2.default">
+<head>
+ <title><s:text name="password.page.title"/></title>
+</head>
+
+<body onload="javascript:document.forms['password'].existingPassword.focus();">
+
+<h2><s:text name="password.section.title"/></h2>
+
+<%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
+
+<s:form action="password" namespace="/security" theme="xhtml"
+ id="passwordForm" method="post" name="password" cssClass="security password">
+ <c:if test="${provideExisting}">
+ <s:password label="%{getText('password.existing')}" name="existingPassword" size="20" required="true" />
+ </c:if>
+ <s:password label="%{getText('password.new')}" name="newPassword" size="20" required="true" />
+ <s:password label="%{getText('password.new.confirm')}" name="newPasswordConfirm" size="20" required="true" />
+ <s:submit value="%{getText('password.change')}" method="submit" />
+ <s:submit value="%{getText('cancel')}" method="cancel" />
+</s:form>
+
+<ul class="tips">
+
+</ul>
+
+</body>
+</s:i18n>
+</html>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/password.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/password.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/passwordResetNotification.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/passwordResetNotification.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/passwordResetNotification.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/passwordResetNotification.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,39 @@
+<%--
+ ~ Copyright 2007 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+
+<html>
+<s:i18n name="org.codehaus.plexus.redback.struts2.default">
+<head>
+ <title><s:text name="password.reset.page.title"/></title>
+</head>
+
+<body>
+
+<p>
+ <s:text name="password.reset.message"/>
+</p>
+
+<p>
+<s:url id="loginUrl" action="login" />
+<s:text name="password.reset.go.to"/><s:a href="%{loginUrl}"><s:text name="login"/></s:a>
+</p>
+
+</body>
+</s:i18n>
+</html>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/passwordResetNotification.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/passwordResetNotification.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/register.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/register.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/register.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/register.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,50 @@
+<%--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+
+<html>
+<s:i18n name="org.codehaus.plexus.redback.struts2.default">
+<head>
+ <title><s:text name="register.page.title"/></title>
+</head>
+
+<body>
+
+<%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
+
+<h2><s:text name="register.section.title"/></h2>
+
+<s:form action="register" namespace="/security" theme="xhtml"
+ id="registerForm" method="post" name="register" cssClass="security register">
+
+ <s:textfield label="%{getText('username')}" name="user.username" size="30" required="true"/>
+ <s:textfield label="%{getText('full.name')}" name="user.fullName" size="30" required="true"/>
+ <s:textfield label="%{getText('email.address')}" name="user.email" size="50" required="true"/>
+
+ <c:if test="${! emailValidationRequired}">
+ <s:password label="%{getText('password')}" name="user.password" size="20" required="true"/>
+ <s:password label="%{getText('confirm.password')}" name="user.confirmPassword" size="20" required="true"/>
+ </c:if>
+
+ <s:submit value="%{getText('register')}" method="register" />
+ <s:submit value="%{getText('cancel')}" method="cancel" />
+</s:form>
+
+</body>
+</s:i18n>
+</html>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/register.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/register.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requestPasswordReset.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requestPasswordReset.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requestPasswordReset.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requestPasswordReset.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,41 @@
+<%--
+ ~ Copyright 2005-2006 The Codehaus.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+
+<html>
+<s:i18n name="org.codehaus.plexus.redback.struts2.default">
+<head>
+ <title><s:text name="request.password.reset.page.title"/></title>
+</head>
+
+<body onload="javascript:document.forms['passwordReset'].username.focus();">
+
+<h2><s:text name="request.password.reset.section.title"/></h2>
+
+<%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
+
+<s:form action="passwordReset" namespace="/security" theme="xhtml"
+ id="passwordResetForm" method="post" name="passwordReset" cssClass="security passwordReset">
+ <s:textfield label="%{getText('username')}" name="username" size="30" required="true" />
+ <s:submit value="%{getText('request.password.reset')}" method="reset" />
+ <s:submit value="%{getText('cancel')}" method="cancel" />
+</s:form>
+
+</body>
+</s:i18n>
+</html>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requestPasswordReset.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requestPasswordReset.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requiresAuthentication.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requiresAuthentication.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requiresAuthentication.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requiresAuthentication.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,54 @@
+<%--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib prefix="s" uri="/struts-tags" %>
+
+<html>
+
+<s:i18n name="org.codehaus.plexus.redback.struts2.default">
+<head>
+ <title><s:text name="requires.authentication.page.title"/></title>
+</head>
+
+<body>
+
+<h4><s:text name="requires.authentication.section.title"/></h4>
+
+<div id="results">
+ <%-- This is where the "Account Created Successfully" type message goes. --%>
+ <div class="success">
+ <s:actionmessage />
+ </div>
+ <%-- This is where errors from the action and other non-form field specific errors appear. --%>
+ <div class="errors">
+ <s:actionerror />
+ </div>
+</div>
+
+<p>
+ <s:text name="requires.authentication.message"/>
+</p>
+
+<ol>
+<li>
+ <s:url id="login" action="login" namespace="/security" includeParams="none"/>
+ <s:text name="requires.authentication.go.ahead"/><s:a href="%{login}"><s:text name="login"/></s:a>
+</li>
+</ol>
+
+</body>
+</s:i18n>
+</html>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requiresAuthentication.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/requiresAuthentication.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/statusline.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/statusline.jsp?rev=1310268&view=auto
==============================================================================
(empty)
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/statusline.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/statusline.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validate.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validate.jsp?rev=1310268&view=auto
==============================================================================
(empty)
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validate.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validate.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validationNotification.jsp
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validationNotification.jsp?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validationNotification.jsp (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validationNotification.jsp Fri Apr 6 09:58:14 2012
@@ -0,0 +1,42 @@
+<%--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ --%>
+
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+
+<html>
+<s:i18n name="org.codehaus.plexus.redback.struts2.default">
+<head>
+ <title><s:text name="validation.notification.page.title"/></title>
+</head>
+
+<body>
+
+<%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
+
+<h2><s:text name="validation.notification.section.title"/></h2>
+
+<p>
+ <s:text name="validation.notification.message.1"><s:param>(${user.email}).</s:param></s:text>
+</p>
+
+<p>
+ <s:text name="validation.notification.message.2"><s:param>${user.email}</s:param></s:text>
+</p>
+
+</body>
+</s:i18n>
+</html>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validationNotification.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/jsp/redback/validationNotification.jsp
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/web.xml?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/web.xml (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/web.xml Fri Apr 6 09:58:14 2012
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <!-- Nothing Declared In Here.
+ Just defined to make maven-war-plugin happy.
+ You should declare web.xml specific content in your application webapp's web.xml
+ -->
+</web-app>
\ No newline at end of file
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/css/redback/table.css
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/css/redback/table.css?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/css/redback/table.css (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/css/redback/table.css Fri Apr 6 09:58:14 2012
@@ -0,0 +1,294 @@
+/* Plexus Security - $Id$ */
+
+.eXtremeTable {
+ margin: 0px;
+ padding: 0px;
+}
+
+.eXtremeTable select {
+ font-family: Verdana;
+ font-size: 9px;
+ border: solid 1px #EEE;
+ width: 75px;
+}
+
+.outerTableRegion {
+ padding: 0px 0px 0px 2px;
+ border: 1px solid gray;
+ width: 100%;
+}
+
+.outerTableRegion table {
+ margin-left: 0px;
+ margin-right: 0px;
+}
+
+.outerTableRegion td, .outerTableRegion th {
+ padding: 2px 2px;
+}
+
+.eXtremeTable .tableRegion {
+ font-family: Verdana;
+ font-size: 10px;
+ width: 100%;
+}
+
+.eXtremeTable .filter {
+ background-color: #efefef;
+}
+
+.eXtremeTable .filterToolbar {
+ padding: 0px 0px 10px;
+}
+
+.eXtremeTable .filterInput {
+ padding: 5px 0px 0px 10px;
+ white-space: nowrap;
+}
+
+.eXtremeTable .filter .filterInputGroup {
+ border: 1px solid gray;
+ background-color: white;
+ padding-right: 16px;
+ padding-left: 1px;
+ background-image: url("../../images/redback/table/filterIcon.gif");
+ background-position: center right;
+ background-repeat: no-repeat;
+}
+
+.eXtremeTable .filter input {
+ font-family: Verdana;
+ background: transparent;
+ border: 0px;
+ font-size: 10px;
+ margin: 0px;
+ margin-right: 16px;
+ height: 16px;
+ width: 100%;
+}
+
+.eXtremeTable .filter select {
+ font-family: Verdana;
+ font-size: 9px;
+ border: solid 1px #EEE;
+ width: 100%;
+}
+
+.eXtremeTable .tableRegion .tableHeader {
+ background-color: #308dbb;
+ color: white;
+ font-weight: bold;
+ text-align: left;
+ padding-right: 3px;
+ padding-left: 3px;
+ padding-top: 4;
+ padding-bottom: 4;
+ margin: 0;
+ border-right-style: solid;
+ border-right-width: 1px;
+ border-color: white;
+}
+
+.eXtremeTable .tableRegion .tableHeaderSort {
+ background-color: #f8c471;
+ color: white;
+ font-weight: bold;
+ text-align: left;
+ padding-right: 3px;
+ padding-left: 3px;
+ padding-top: 4;
+ padding-bottom: 4;
+ border-right-style: solid;
+ border-right-width: 1px;
+ border-color: white;
+}
+
+.eXtremeTable .odd a,.even a {
+ color: Black;
+ font-size: 9px;
+}
+
+.eXtremeTable .odd td,.eXtremeTable .even td {
+ padding-top: 2px;
+ padding-right: 3px;
+ padding-bottom: 2px;
+ padding-left: 3px;
+ vertical-align: middle;
+ font-size: 9px;
+}
+
+.eXtremeTable .odd {
+ background-color: #FFFFFF;
+}
+
+.eXtremeTable .even {
+ background-color: #dfe4e8;
+}
+
+.eXtremeTable .highlight td {
+ color: black;
+ font-size: 10px;
+ padding-top: 2px;
+ padding-right: 3px;
+ padding-bottom: 2px;
+ padding-left: 3px;
+ vertical-align: middle;
+ background-color: #fdecae;
+}
+
+.eXtremeTable .highlight a,.highlight a {
+ color: black;
+ font-size: 10px;
+}
+
+.eXtremeTable .toolbar {
+ background-color: #F4F4F4;
+ font-family: Verdana;
+ font-size: 9px;
+ margin-right: 1px;
+ border-right: 1px solid silver;
+ border-left: 1px solid silver;
+ border-top: 1px solid silver;
+ border-bottom: 1px solid silver;
+}
+
+.eXtremeTable .toolbar td {
+ color: #444444;
+ padding: 0px 3px 0px 3px;
+ text-align: center;
+}
+
+.eXtremeTable .separator {
+ width: 7px;
+}
+
+.eXtremeTable .statusBar {
+ font-family: Verdana;
+ font-size: 10px;
+}
+
+.eXtremeTable .compactToolbar button {
+ font-size: 10px;
+}
+
+.eXtremeTable .compactToolbar {
+ font-size: 10px;
+ width: 100%;
+ padding-bottom: 0px;
+}
+
+.eXtremeTable .compactToolbar table td {
+ white-space: nowrap;
+ padding-right: 4px;
+}
+
+.eXtremeTable .title {
+ color: #444444;
+ font-weight: bold;
+ font-family: Verdana;
+ font-size: 15px;
+ vertical-align: middle;
+}
+
+.eXtremeTable .title span {
+ margin-left: 7px;
+}
+
+.eXtremeTable .roleSelect {
+ width: auto;
+}
+
+.eXtremeTable .formButtons {
+ display: block;
+ margin-top: 10px;
+ margin-left: 5px;
+}
+
+.eXtremeTable .formButton {
+ cursor: pointer;
+ font-family: Verdana;
+ font-size: 10px;
+ font-weight: bold;
+ background-color: #308dbb;
+ color: white;
+ margin-top: 5px;
+ border: outset 1px #333;
+ vertical-align: middle;
+}
+
+.eXtremeTable .tableTotal {
+ background-color: #FFFFFF;
+ border-top: solid 1px Silver;
+}
+
+.eXtremeTable .tableTotalEmpty {
+ background-color: #FFFFFF;
+}
+
+.eXtremeTable img {
+ border: 0px;
+}
+
+.eXtremeTable .tasks {
+ text-align: center;
+}
+
+.eXtremeTable .tasks form {
+ padding: 0px;
+ margin: 0px;
+}
+
+table.tools {
+ border: 1px solid gray;
+ margin-top: 7px;
+ padding: 0px 2px 2px 2px;
+}
+
+table.tools img {
+ border: 0;
+}
+
+table.tools th.toolHeading {
+ background-color: #308dbb;
+ color: white;
+ font-size: 12px;
+ padding: 3px;
+ text-align: left;
+}
+
+table.tools form {
+ margin: 0;
+ padding: 0;
+}
+
+table.tools p {
+ font-size: 10px;
+ margin: 5px;
+}
+
+table.tools .task {
+ margin-bottom: 2px;
+}
+
+table.tools form input,table.tools form select {
+ font-size: 10px;
+}
+
+table.tools form .button {
+ margin-left: 15px;
+ width: 15em;
+}
+
+table.tools .reports {
+
+}
+
+table.tools .reports th {
+ text-align: left;
+ font-size: 11px;
+}
+
+table.tools .reports td {
+ text-align: left;
+ font-size: 10px;
+}
\ No newline at end of file
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/css/redback/table.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/css/redback/table.css
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/delete.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/delete.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/delete.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon-user.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon-user.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon-user.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon_sortdown.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon_sortdown.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon_sortdown.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon_sortup.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon_sortup.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/icon_sortup.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/LICENSE.txt
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/LICENSE.txt?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/LICENSE.txt (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/LICENSE.txt Fri Apr 6 09:58:14 2012
@@ -0,0 +1,6 @@
+The images in this directory are from the eXtremecomponents 1.0.1 distribution.
+http://www.extremecomponents.org/
+
+eXtremecomponents is licensed under the Apache Source License.
+http://extremecomp.cvs.sourceforge.net/extremecomp/eXtremeComponents/LICENSE.txt?view=markup
+
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/LICENSE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/LICENSE.txt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/checkbox-false.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/checkbox-false.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/checkbox-false.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/clear.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/clear.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/clear.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/csv.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/csv.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/csv.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filter.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filter.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filter.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filterArrow.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filterArrow.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filterArrow.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filterIcon.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filterIcon.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/filterIcon.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/firstPage.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/firstPage.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/firstPage.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/firstPageDisabled.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/firstPageDisabled.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/firstPageDisabled.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/icon_success_sml.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/icon_success_sml.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/icon_success_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/lastPage.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/lastPage.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/lastPage.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/lastPageDisabled.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/lastPageDisabled.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/lastPageDisabled.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/nextPage.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/nextPage.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/nextPage.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/nextPageDisabled.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/nextPageDisabled.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/nextPageDisabled.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/pdf.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/pdf.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/pdf.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/prevPage.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/prevPage.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/prevPage.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/prevPageDisabled.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/prevPageDisabled.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/prevPageDisabled.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/separator.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/separator.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/separator.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/sortAsc.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/sortAsc.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/sortAsc.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/sortDesc.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/sortDesc.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/sortDesc.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/xls.gif
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/xls.gif?rev=1310268&view=auto
==============================================================================
Binary file - no diff available.
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-content/src/main/webapp/images/redback/table/xls.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/RUNNING.txt
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/RUNNING.txt?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/RUNNING.txt (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/RUNNING.txt Fri Apr 6 09:58:14 2012
@@ -0,0 +1,23 @@
+
+Running the Redback Security Example Webapp
+------------------------------------------
+
+To run, open a command prompt/terminal.
+
+1) Change directory to the Redback Security Example Webapp.
+
+2) Run the following Maven command line.
+
+ > mvn jetty:run-war
+
+ This is ensure that the requisite resources are overlaid for example webapp
+ before it is deployed to a Jetty instance.
+
+ jetty:run-war will also run the unit tests for the example webapp. You can
+ skip them like so:
+
+ > mvn jetty:run-war -Dmaven.test.skip
+
+ Or tomcat maven plugin
+ mvn tomcat:run
+ and go to http://localhost:9090
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/RUNNING.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/RUNNING.txt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/pom.xml
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/pom.xml?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/pom.xml (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/pom.xml Fri Apr 6 09:58:14 2012
@@ -0,0 +1,330 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright 2006 The Codehaus.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.codehaus.redback</groupId>
+ <artifactId>redback-struts2</artifactId>
+ <version>1.5-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>redback-struts2-example</artifactId>
+ <packaging>war</packaging>
+ <name>Redback :: Integration :: Struts 2 Example Webapp</name>
+ <dependencies>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.redback</groupId>
+ <artifactId>redback-struts2-content</artifactId>
+ <type>war</type>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.redback</groupId>
+ <artifactId>redback-struts2-integration</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.redback</groupId>
+ <artifactId>redback-rbac-role-manager</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.redback</groupId>
+ <artifactId>redback-common-integrations</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.redback</groupId>
+ <artifactId>redback-users-ldap</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.redback</groupId>
+ <artifactId>redback-rest-services</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-bundle-jaxrs</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-server</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-servlet_3.0_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-javamail_1.4_spec</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${basedir}/</directory>
+ <includes>
+ <include>derby.log</include>
+ </includes>
+ </fileset>
+ <fileset>
+ <directory>${basedir}/src/main/webapp</directory>
+ <includes>
+ <include>META-INF</include>
+ <include>images/redback</include>
+ <include>css/redback</include>
+ <include>template</include>
+ <include>WEB-INF/classes</include>
+ <include>WEB-INF/lib</include>
+ <include>WEB-INF/database</include>
+ <include>WEB-INF/logs</include>
+ <include>WEB-INF/temp</include>
+ <include>WEB-INF/jsp/redback</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- skip example deployement -->
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>inplace</goal>
+ </goals>
+ <configuration>
+ <archiveClasses>false</archiveClasses>
+ <dependentWarExcludes>WEB-INF/web.xml,WEB-INF/lib/**/*.jar</dependentWarExcludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!--
+ here an hack to prevent multiple struts core in classpath
+ which prevent struts start
+ and same struts.xml in the classpath too
+ -->
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>cleanup-struts-jar-in-webapp</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete includeemptydirs="true">
+ <fileset dir="${basedir}/src/main/webapp/WEB-INF/lib" includes="**/*.jar" />
+ </delete>
+ <delete includeemptydirs="true">
+ <fileset dir="${basedir}/src/main/webapp/WEB-INF/classes" includes="**/struts.*" />
+ </delete>
+ <copy overwrite="true" file="${basedir}/src/test/log4j.xml" todir="${basedir}/src/main/webapp/WEB-INF/classes" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>6.1.11</version>
+ <configuration>
+ <scanIntervalSeconds>10</scanIntervalSeconds>
+ <contextPath>/</contextPath>
+ <jettyEnvXml>src/jetty-env.xml</jettyEnvXml>
+ <webAppConfig>
+ <contextPath>/</contextPath>
+ <jettyEnvXmlFile>src/jetty-env.xml</jettyEnvXmlFile>
+ </webAppConfig>
+ <systemProperties>
+ <property>
+ <name>appserver.base</name>
+ <value>${basedir}/target</value>
+ </property>
+ </systemProperties>
+ <connectors>
+ <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+ <port>9090</port>
+ <maxIdleTime>60000</maxIdleTime>
+ </connector>
+ </connectors>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>${derbyVersion}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <configuration>
+ <port>9090</port>
+ <path>/</path>
+ <contextFile>${basedir}/src/test/tomcat/tomcat-context.xml</contextFile>
+ <systemProperties>
+ <plexus.home>${project.build.directory}/appserver-base</plexus.home>
+ <appserver.base>${project.build.directory}/appserver-base</appserver.base>
+ <appserver.home>${project.build.directory}/appserver-home</appserver.home>
+ <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home>
+ </systemProperties>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>${derbyVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ <version>1.4</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jspc-maven-plugin</artifactId>
+ <version>1.4.6</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <warSourceDirectory>${project.build.directory}/${project.build.finalName}/</warSourceDirectory>
+ <!--
+ Uncomment outputWebXml if you want the generated web.xml to
+ be placed in the working directory that the war:war mojo uses.
+ -->
+ <!--
+ <outputWebXml>${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml</outputWebXml>
+ -->
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>postgres</id>
+ <dependencies>
+ <dependency>
+ <groupId>postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>8.2-504.jdbc3</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <configuration>
+ <jettyEnvXml>src/jetty-env-postgres.xml</jettyEnvXml>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>mysql</id>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.0.4</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <configuration>
+ <jettyEnvXml>src/jetty-env-mysql.xml</jettyEnvXml>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <!-- profile for dev an log output in the console -->
+ <id>dev</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>override-log4j-with-console-output</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy overwrite="true" file="${basedir}/src/test/log4j.xml" todir="${basedir}/src/main/webapp/WEB-INF/classes" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-mysql.xml
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-mysql.xml?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-mysql.xml (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-mysql.xml Fri Apr 6 09:58:14 2012
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<!--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
+<Configure class="org.mortbay.jetty.webapp.WebAppContext">
+
+
+
+<New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>mail/Session</Arg>
+ <Arg>
+ <New class="org.mortbay.naming.factories.MailSessionReference">
+ <Set name="user"></Set>
+ <Set name="password"></Set>
+ <Set name="properties">
+ <New class="java.util.Properties">
+ <Put name="mail.smtp.host">localhost</Put>
+ <Put name="mail.from">continuum@localhost</Put>
+ <Put name="mail.senderName">Continuum</Put>
+ <Put name="mail.debug">true</Put>
+ </New>
+ </Set>
+ </New>
+ </Arg>
+</New>
+<New id="users" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>jdbc/users</Arg>
+ <Arg>
+ <New class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource">
+ <Set name="serverName">localhost</Set>
+ <Set name="databaseName">users</Set>
+ <Set name="user">root</Set>
+ <Set name="password"></Set>
+ </New>
+ </Arg>
+</New>
+<New id="users_shutdown" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>jdbc/shutdown</Arg>
+ <Arg>
+ <New class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource">
+ <Set name="serverName">localhost</Set>
+ <Set name="databaseName">users</Set>
+ <Set name="user">root</Set>
+ <Set name="password"></Set>
+ </New>
+ </Arg>
+</New>
+
+</Configure>
+
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-mysql.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-mysql.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-postgres.xml
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-postgres.xml?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-postgres.xml (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-postgres.xml Fri Apr 6 09:58:14 2012
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
+<Configure class="org.mortbay.jetty.webapp.WebAppContext">
+
+<New id="users" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>jdbc/users</Arg>
+ <Arg>
+ <New class="org.postgresql.ds.PGPoolingDataSource">
+ <Set name="serverName">localhost</Set>
+ <Set name="databaseName">users</Set>
+ <Set name="user">postgres</Set>
+ <Set name="password">sparky</Set>
+ </New>
+ </Arg>
+</New>
+<New id="shutdown" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>jdbc/shutdown</Arg>
+ <Arg>
+ <New class="org.postgresql.ds.PGPoolingDataSource">
+ <Set name="serverName">localhost</Set>
+ <Set name="databaseName">users</Set>
+ <Set name="user">postgres</Set>
+ <Set name="password">sparky</Set>
+ </New>
+ </Arg>
+</New>
+
+</Configure>
+
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-postgres.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env-postgres.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env.xml
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env.xml?rev=1310268&view=auto
==============================================================================
--- archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env.xml (added)
+++ archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env.xml Fri Apr 6 09:58:14 2012
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<!--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
+<Configure class="org.mortbay.jetty.webapp.WebAppContext">
+
+<New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>mail/Session</Arg>
+ <Arg>
+ <New class="org.mortbay.naming.factories.MailSessionReference">
+ <Set name="user"></Set>
+ <Set name="password"></Set>
+ <Set name="properties">
+ <New class="java.util.Properties">
+ <Put name="mail.smtp.host">localhost</Put>
+ <Put name="mail.from">continuum@localhost</Put>
+ <Put name="mail.senderName">Continuum</Put>
+ <Put name="mail.debug">true</Put>
+ </New>
+ </Set>
+ </New>
+ </Arg>
+</New>
+
+<New id="users" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>jdbc/users</Arg>
+ <Arg>
+ <New class="org.apache.derby.jdbc.EmbeddedDataSource">
+ <Set name="DatabaseName">target/database</Set>
+ <Set name="user">sa</Set>
+ <Set name="createDatabase">create</Set>
+ </New>
+ </Arg>
+</New>
+<New id="shutdown" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>jdbc/shutdown</Arg>
+ <Arg>
+ <New class="org.apache.derby.jdbc.EmbeddedDataSource">
+ <Set name="DatabaseName">target/database</Set>
+ <Set name="user">sa</Set>
+ <Set name="shutdownDatabase">shutdown</Set>
+ </New>
+ </Arg>
+</New>
+
+</Configure>
+
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: archiva/redback/redback-core/trunk/redback-integrations/redback-struts2/redback-struts2-example/src/jetty-env.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision