[seam/security] 5035bd: Merge pull request #24 from maschmid/SEAMSECURITY-...
by noreply@github.com
Branch: refs/heads/develop
Home: https://github.com/seam/security
Commit: 5035bdc006c3282ca9004ca17d19df636fe89552
https://github.com/seam/security/commit/5035bdc006c3282ca9004ca17d19df636...
Author: Shane Bryzak <sbryzak(a)gmail.com>
Date: 2011-08-12 (Fri, 12 Aug 2011)
Changed paths:
M examples/openid-op/pom.xml
A examples/openid-op/src/main/resources/META-INF/seam-beans.xml
M examples/openid-op/src/main/webapp/WEB-INF/beans.xml
M examples/openid-rp/pom.xml
A examples/openid-rp/src/main/java/org/jboss/seam/security/examples/id_consumer/OpenIdRelyingPartyCustomizer.java
M examples/openid-rp/src/main/java/org/jboss/seam/security/examples/id_consumer/OpenIdRelyingPartySpiImpl.java
A examples/openid-rp/src/main/java/org/jboss/seam/security/examples/id_consumer/PropertyReader.java
M examples/openid-rp/src/main/resources/META-INF/seam-beans.xml
M examples/saml-idp/pom.xml
R examples/saml-idp/src/main/java/org/jboss/seam/security/examples/id_provider/Identity.java
M examples/saml-idp/src/main/java/org/jboss/seam/security/examples/id_provider/Login.java
A examples/saml-idp/src/main/java/org/jboss/seam/security/examples/id_provider/SamlIdentity.java
M examples/saml-idp/src/main/java/org/jboss/seam/security/examples/id_provider/SamlIdentityProviderSpiImpl.java
A examples/saml-idp/src/main/resources/META-INF/seam-beans.xml
M examples/saml-idp/src/main/webapp/Menu.xhtml
M examples/saml-idp/src/main/webapp/SessionManagement.xhtml
M examples/saml-idp/src/main/webapp/WEB-INF/beans.xml
M examples/saml-sp/pom.xml
R examples/saml-sp/src/main/java/org/jboss/seam/security/examples/id_consumer/Identity.java
A examples/saml-sp/src/main/java/org/jboss/seam/security/examples/id_consumer/SamlIdentity.java
A examples/saml-sp/src/main/resources/META-INF/seam-beans.xml
M examples/saml-sp/src/main/webapp/Login.xhtml
M examples/saml-sp/src/main/webapp/Menu.xhtml
M examples/saml-sp/src/main/webapp/UserInfo.xhtml
M examples/saml-sp/src/main/webapp/WEB-INF/beans.xml
M external/pom.xml
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdProviderAuthenticationService.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdProviderBean.java
A external/src/main/java/org/jboss/seam/security/external/openid/OpenIdProviderBeanApi.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdProviderInApplicationScopeProducer.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdProviderInVirtualApplicationScopeProducer.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdRpAuthenticationService.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdRpBean.java
A external/src/main/java/org/jboss/seam/security/external/openid/OpenIdRpBeanApi.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdRpInApplicationScopeProducer.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdRpInVirtualApplicationScopeProducer.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdServerManagerFactory.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdServlet.java
M external/src/main/java/org/jboss/seam/security/external/openid/OpenIdUsersServlet.java
M external/src/main/java/org/jboss/seam/security/external/saml/SamlMessageReceiver.java
M external/src/main/java/org/jboss/seam/security/external/saml/idp/SamlIdpBean.java
A external/src/main/java/org/jboss/seam/security/external/saml/idp/SamlIdpBeanApi.java
M external/src/main/java/org/jboss/seam/security/external/saml/idp/SamlIdpInApplicationScopeProducer.java
M external/src/main/java/org/jboss/seam/security/external/saml/idp/SamlIdpInVirtualApplicationScopeProducer.java
M external/src/main/java/org/jboss/seam/security/external/saml/sp/SamlSpBean.java
A external/src/main/java/org/jboss/seam/security/external/saml/sp/SamlSpBeanApi.java
M external/src/main/java/org/jboss/seam/security/external/saml/sp/SamlSpInApplicationScopeProducer.java
M external/src/main/java/org/jboss/seam/security/external/saml/sp/SamlSpInVirtualApplicationScopeProducer.java
M external/src/test/java/org/jboss/seam/security/externaltest/integration/client/ArchiveBuilder.java
M external/src/test/resources/WEB-INF/idp-beans.xml
A external/src/test/resources/WEB-INF/idp-seam-beans.xml
M external/src/test/resources/WEB-INF/op-beans.xml
A external/src/test/resources/WEB-INF/op-seam-beans.xml
A external/src/test/resources/WEB-INF/rp-seam-beans.xml
M external/src/test/resources/WEB-INF/sp-beans.xml
A external/src/test/resources/WEB-INF/sp-seam-beans.xml
Log Message:
-----------
Merge pull request #24 from maschmid/SEAMSECURITY-76-veto
SEAMSECURITY-76
13 years, 3 months
Seam SVN: r14148 - branches/enterprise/JBPAPP_5_0/examples/tasks/view.
by seam-commits@lists.jboss.org
Author: jharting
Date: 2011-08-12 07:27:53 -0400 (Fri, 12 Aug 2011)
New Revision: 14148
Modified:
branches/enterprise/JBPAPP_5_0/examples/tasks/view/tasks.js
Log:
JBPAPP-5039
Modified: branches/enterprise/JBPAPP_5_0/examples/tasks/view/tasks.js
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/tasks/view/tasks.js 2011-08-11 14:57:17 UTC (rev 14147)
+++ branches/enterprise/JBPAPP_5_0/examples/tasks/view/tasks.js 2011-08-12 11:27:53 UTC (rev 14148)
@@ -6,7 +6,7 @@
postTask(categoryName, name, function(location) {
$('#editTaskName').val('');
$.get(location, function(data) {
- addTask($(data).find('task'), categoryName);
+ addTaskFromXML($(data).find('task'), categoryName);
});
});
});
@@ -27,7 +27,7 @@
updateTaskNameOnUI(taskId, taskName); // just update the name
} else {
$('#' + taskId).remove(); // add the task into new category
- addTask(data, newCategoryName);
+ addTask(taskId, taskName, newCategoryName);
}
}
putTask(newCategoryName, taskId, taskName, false, callback);
@@ -57,15 +57,18 @@
$('<option/>').attr('value', categoryName).text(categoryName).appendTo('#editTaskCategory');
getTasksForCategory(categoryName, false, function(data) {
$(data).find('task').each(function() {
- addTask($(this), categoryName);
+ addTaskFromXML($(this), categoryName);
});
});
}
-function addTask(task, categoryName) {
+function addTaskFromXML(task, categoryName) {
var taskId = $(task).find('id').text();
var taskName = $(task).find('name').text();
-
+ addTask(taskId, taskName, categoryName);
+}
+
+function addTask(taskId, taskName, categoryName) {
var parent = $('[id=' + categoryName + ']');
var nameCell = $('<td/>').append($('<span/>').addClass('name').text(taskName));
var doneButton = $('<img/>').attr('src', 'img/task-done.png').attr('title', 'Resolve this task').click(function(event) {
13 years, 3 months