Syncope-2_0_X - Build # 78 - Failure
The Apache Jenkins build system has built Syncope-2_0_X (build #78) Status: Failure Check console output at https://builds.apache.org/job/Syncope-2_0_X/78/ to view the results.
[1/3] syncope git commit: NPE guards for both the RelayState and Response
Repository: syncope Updated Branches: refs/heads/2_0_X e1a9e9e7f -> 8746f9f8e NPE guards for both the RelayState and Response Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/ebd3e2e2 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/ebd3e2e2 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/ebd3e2e2 Branch: refs/heads/2_0_X Commit: ebd3e2e2cf8e6ccbc933bf3ab3e7e8b650512928 Parents: e1a9e9e Author: Colm O hEigeartaighAuthored: Wed Aug 2 15:31:47 2017 +0100 Committer: Colm O hEigeartaigh Committed: Wed Aug 2 17:10:26 2017 +0100 -- .../main/java/org/apache/syncope/core/logic/SAML2SPLogic.java | 6 ++ 1 file changed, 6 insertions(+) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd3e2e2/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/SAML2SPLogic.java -- diff --git a/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/SAML2SPLogic.java b/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/SAML2SPLogic.java index 222d3cf..28a1ef0 100644 --- a/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/SAML2SPLogic.java +++ b/ext/saml2sp/logic/src/main/java/org/apache/syncope/core/logic/SAML2SPLogic.java @@ -421,6 +421,9 @@ public class SAML2SPLogic extends AbstractSAML2Logic { check(); // 1. first checks for the provided relay state +if (response.getRelayState() == null) { +throw new IllegalArgumentException("No Relay State was provided"); +} JwsJwtCompactConsumer relayState = new JwsJwtCompactConsumer(response.getRelayState()); if (!relayState.verifySignatureWith(jwsSignatureVerifier)) { throw new IllegalArgumentException("Invalid signature found in Relay State"); @@ -429,6 +432,9 @@ public class SAML2SPLogic extends AbstractSAML2Logic { relayState.getJwtClaims().getClaim(JWT_CLAIM_IDP_DEFLATE).toString()); // 2. parse the provided SAML response +if (response.getSamlResponse() == null) { +throw new IllegalArgumentException("No SAML Response was provided"); +} Response samlResponse; try { XMLObject responseObject = saml2rw.read(useDeflateEncoding, response.getSamlResponse());
[2/3] syncope git commit: Switch to use different ports to avoid conflict with other Tomcat deployments
Switch to use different ports to avoid conflict with other Tomcat deployments Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/a11cd34e Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/a11cd34e Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/a11cd34e Branch: refs/heads/master Commit: a11cd34eb3abba039a103a6429a6b9445234ef9d Parents: c7a5057 Author: Colm O hEigeartaighAuthored: Wed Aug 2 16:42:31 2017 +0100 Committer: Colm O hEigeartaigh Committed: Wed Aug 2 17:10:05 2017 +0100 -- standalone/pom.xml | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/a11cd34e/standalone/pom.xml -- diff --git a/standalone/pom.xml b/standalone/pom.xml index 89dd1bc..e045bf1 100644 --- a/standalone/pom.xml +++ b/standalone/pom.xml @@ -187,6 +187,8 @@ under the License. + +
syncope git commit: [SYNCOPE-1183] 'realm' attribute is now added as a default column in 'Realms' view
Repository: syncope Updated Branches: refs/heads/master cb9e14539 -> bfce0046e [SYNCOPE-1183] 'realm' attribute is now added as a default column in 'Realms' view Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/bfce0046 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/bfce0046 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/bfce0046 Branch: refs/heads/master Commit: bfce0046e7e278d0fd66ceb939a01ac056f89be8 Parents: cb9e145 Author: skylark17Authored: Wed Aug 2 16:34:55 2017 +0200 Committer: skylark17 Committed: Wed Aug 2 16:36:05 2017 +0200 -- .../client/console/panels/AnyDirectoryPanel.java| 2 +- .../panels/AnyObjectDisplayAttributesModalPanel.java| 2 +- .../console/panels/DisplayAttributesModalPanel.java | 12 ++-- .../panels/GroupDisplayAttributesModalPanel.java| 2 +- .../console/panels/UserDisplayAttributesModalPanel.java | 2 +- .../client/console/panels/DirectoryPanel.properties | 1 + .../client/console/panels/DirectoryPanel_it.properties | 1 + .../console/panels/DirectoryPanel_pt_BR.properties | 1 + .../client/console/panels/DirectoryPanel_ru.properties | 1 + .../syncope/common/lib/search/SearchableFields.java | 2 +- 10 files changed, 15 insertions(+), 11 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/bfce0046/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java -- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java index d4f0bcd..5a481ff 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java @@ -168,7 +168,7 @@ public abstract class AnyDirectoryPanelhttp://git-wip-us.apache.org/repos/asf/syncope/blob/bfce0046/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java -- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java index 3d798cd..101d372 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java @@ -33,7 +33,7 @@ public class AnyObjectDisplayAttributesModalPanel extend private static final long serialVersionUID = 5194630813773543054L; -public static final String[] DEFAULT_SELECTION = { "name" }; +public static final String[] DEFAULT_SELECTION = { "name", "realm" }; public AnyObjectDisplayAttributesModalPanel( final BaseModal modal, http://git-wip-us.apache.org/repos/asf/syncope/blob/bfce0046/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java -- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java index 344356d..a87577d 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java @@ -113,12 +113,12 @@ public abstract class DisplayAttributesModalPanel extend } }; -selectedDetails -= prefMan.getList(getRequest(), DisplayAttributesModalPanel.getPrefDetailView(type)); -selectedPlainSchemas -= prefMan.getList(getRequest(), DisplayAttributesModalPanel.getPrefPlainAttributeView(type)); -selectedDerSchemas -= prefMan.getList(getRequest(), DisplayAttributesModalPanel.getPrefDerivedAttributeView(type)); +selectedDetails = +prefMan.getList(getRequest(), DisplayAttributesModalPanel.getPrefDetailView(type)); +selectedPlainSchemas = +prefMan.getList(getRequest(), DisplayAttributesModalPanel.getPrefPlainAttributeView(type)); +selectedDerSchemas = +prefMan.getList(getRequest(),
Syncope-2_0_X - Build # 76 - Fixed
The Apache Jenkins build system has built Syncope-2_0_X (build #76) Status: Fixed Check console output at https://builds.apache.org/job/Syncope-2_0_X/76/ to view the results.
syncope git commit: [SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext
Repository: syncope Updated Branches: refs/heads/master d685eda85 -> cb9e14539 [SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/cb9e1453 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/cb9e1453 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/cb9e1453 Branch: refs/heads/master Commit: cb9e145396d2ae54fe4f37110675dc84bc7c9c32 Parents: d685eda Author: skylark17Authored: Wed Aug 2 14:09:40 2017 +0200 Committer: skylark17 Committed: Wed Aug 2 14:12:16 2017 +0200 -- .../META-INF/resources/app/js/directives/captcha.js | 2 +- .../META-INF/resources/app/js/services/anyService.js| 4 ++-- .../META-INF/resources/app/js/services/authService.js | 4 ++-- .../META-INF/resources/app/js/services/groupService.js | 2 +- .../META-INF/resources/app/js/services/infoService.js | 2 +- .../META-INF/resources/app/js/services/realmService.js | 2 +- .../resources/app/js/services/resourceService.js| 2 +- .../resources/app/js/services/saml2IdPService.js| 2 +- .../META-INF/resources/app/js/services/schemaService.js | 4 ++-- .../app/js/services/securityQuestionService.js | 4 ++-- .../resources/app/js/services/userSelfService.js| 12 ++-- 11 files changed, 20 insertions(+), 20 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/cb9e1453/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js -- diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js b/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js index ce62b88..0e76abf 100644 --- a/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js +++ b/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js @@ -32,7 +32,7 @@ angular.module('self') //initialize captcha $scope.refreshCaptcha = function () { -$scope.captchaUrl = '/syncope-enduser/api/captcha' + '?' + new Date(); +$scope.captchaUrl = '../api/captcha' + '?' + new Date(); }; // initialize captcha http://git-wip-us.apache.org/repos/asf/syncope/blob/cb9e1453/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js -- diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js b/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js index 09edf18..4c24af2 100644 --- a/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js +++ b/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js @@ -26,7 +26,7 @@ angular.module('self') var any = {}; any.getAuxClasses = function () { - return $http.get("/syncope-enduser/api/auxClasses") + return $http.get("../api/auxClasses") .then(function (response) { return response.data; }, function (response) { @@ -37,7 +37,7 @@ angular.module('self') }; any.getUserClasses = function () { - return $http.get("/syncope-enduser/api/userClasses") + return $http.get("../api/userClasses") .then(function (response) { return response.data; }, function (response) { http://git-wip-us.apache.org/repos/asf/syncope/blob/cb9e1453/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js -- diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js b/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js index 593781a..8fc0868 100644 --- a/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js +++ b/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js @@ -26,7 +26,7 @@ angular.module('login') var authService = {}; authService.login = function (credentials) { return $http - .post('/syncope-enduser/api/login', credentials) + .post('../api/login', credentials) .then(function (response) { return response.data; }, function
syncope git commit: [SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext
Repository: syncope Updated Branches: refs/heads/2_0_X fed232c33 -> 0a0bf05c4 [SYNCOPE-1155] Hard-coded /syncope-enduser HTTP subcontext Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/0a0bf05c Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/0a0bf05c Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/0a0bf05c Branch: refs/heads/2_0_X Commit: 0a0bf05c42a6ef59835c3e247035cc898ab4c4db Parents: fed232c Author: skylark17Authored: Wed Aug 2 14:09:40 2017 +0200 Committer: skylark17 Committed: Wed Aug 2 14:09:40 2017 +0200 -- .../META-INF/resources/app/js/directives/captcha.js | 2 +- .../META-INF/resources/app/js/services/anyService.js| 4 ++-- .../META-INF/resources/app/js/services/authService.js | 4 ++-- .../META-INF/resources/app/js/services/groupService.js | 2 +- .../META-INF/resources/app/js/services/infoService.js | 2 +- .../META-INF/resources/app/js/services/realmService.js | 2 +- .../resources/app/js/services/resourceService.js| 2 +- .../resources/app/js/services/saml2IdPService.js| 2 +- .../META-INF/resources/app/js/services/schemaService.js | 4 ++-- .../app/js/services/securityQuestionService.js | 4 ++-- .../resources/app/js/services/userSelfService.js| 12 ++-- 11 files changed, 20 insertions(+), 20 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/0a0bf05c/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js -- diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js b/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js index ce62b88..0e76abf 100644 --- a/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js +++ b/client/enduser/src/main/resources/META-INF/resources/app/js/directives/captcha.js @@ -32,7 +32,7 @@ angular.module('self') //initialize captcha $scope.refreshCaptcha = function () { -$scope.captchaUrl = '/syncope-enduser/api/captcha' + '?' + new Date(); +$scope.captchaUrl = '../api/captcha' + '?' + new Date(); }; // initialize captcha http://git-wip-us.apache.org/repos/asf/syncope/blob/0a0bf05c/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js -- diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js b/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js index 09edf18..4c24af2 100644 --- a/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js +++ b/client/enduser/src/main/resources/META-INF/resources/app/js/services/anyService.js @@ -26,7 +26,7 @@ angular.module('self') var any = {}; any.getAuxClasses = function () { - return $http.get("/syncope-enduser/api/auxClasses") + return $http.get("../api/auxClasses") .then(function (response) { return response.data; }, function (response) { @@ -37,7 +37,7 @@ angular.module('self') }; any.getUserClasses = function () { - return $http.get("/syncope-enduser/api/userClasses") + return $http.get("../api/userClasses") .then(function (response) { return response.data; }, function (response) { http://git-wip-us.apache.org/repos/asf/syncope/blob/0a0bf05c/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js -- diff --git a/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js b/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js index 593781a..8fc0868 100644 --- a/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js +++ b/client/enduser/src/main/resources/META-INF/resources/app/js/services/authService.js @@ -26,7 +26,7 @@ angular.module('login') var authService = {}; authService.login = function (credentials) { return $http - .post('/syncope-enduser/api/login', credentials) + .post('../api/login', credentials) .then(function (response) { return response.data; }, function (response)
[1/2] syncope git commit: Upgrading the SAML2SP ext to the latest changes
Repository: syncope Updated Branches: refs/heads/2_0_X 7ced59639 -> fed232c33 refs/heads/master 89fe83115 -> d685eda85 Upgrading the SAML2SP ext to the latest changes Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/fed232c3 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/fed232c3 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/fed232c3 Branch: refs/heads/2_0_X Commit: fed232c333676f0aa86c5ce0d0b630b56794904b Parents: 7ced596 Author: Francesco ChicchiriccòAuthored: Wed Aug 2 12:47:45 2017 +0200 Committer: Francesco Chicchiriccò Committed: Wed Aug 2 12:47:45 2017 +0200 -- .../client/console/panels/DirectoryPanel.java | 4 +- .../syncope/common/lib/to/ItemContainerTO.java | 2 +- .../apache/syncope/common/lib/to/MappingTO.java | 2 +- .../apache/syncope/common/lib/to/OrgUnitTO.java | 2 +- .../syncope/core/logic/AccessTokenLogic.java| 28 +++- .../jpa/entity/resource/JPAOrgUnitItem.java | 2 +- .../api/data/AccessTokenDataBinder.java | 5 +- .../java/data/AccessTokenDataBinderImpl.java| 33 ++--- .../spring/security/SyncopeJWTSSOProvider.java | 19 ++--- .../console/panels/SAML2IdPsDirectoryPanel.java | 20 ++ .../console/wizards/SAML2IdPMappingPanel.java | 2 +- .../console/wizards/SAML2IdPWizardBuilder.java | 3 +- .../panels/SAML2IdPsDirectoryPanel.properties | 1 + .../SAML2IdPsDirectoryPanel_it.properties | 1 + .../SAML2IdPsDirectoryPanel_pt_BR.properties| 1 + .../SAML2IdPsDirectoryPanel_ru.properties | 1 + .../syncope/common/lib/to/SAML2IdPTO.java | 24 --- .../apache/syncope/core/logic/SAML2SPLogic.java | 22 +- .../core/persistence/api/entity/SAML2IdP.java | 9 ++- .../persistence/api/entity/SAML2IdPItem.java| 28 .../jpa/entity/JPASAML2EntityFactory.java | 4 +- .../persistence/jpa/entity/JPASAML2IdP.java | 25 --- .../persistence/jpa/entity/JPASAML2IdPItem.java | 73 .../validation/entity/SAML2IdPValidator.java| 14 ++-- .../java/data/SAML2IdPDataBinderImpl.java | 33 - .../apache/syncope/fit/core/SAML2ITCase.java| 4 +- 26 files changed, 257 insertions(+), 105 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/fed232c3/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java -- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java index e066088..55cca0f 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java @@ -105,7 +105,7 @@ public abstract class DirectoryPanel< protected final BaseModal displayAttributeModal = new BaseModal<>("outer"); -private ActionLinksTogglePanel actionTogglePanel; +protected ActionLinksTogglePanel actionTogglePanel; /** * Create simple unfiltered search result panel. @@ -139,7 +139,7 @@ public abstract class DirectoryPanel< super(id, wizardInModal); setOutputMarkupId(true); -actionTogglePanel = new ActionLinksTogglePanel("outer", builder.getPageRef()); +actionTogglePanel = new ActionLinksTogglePanel<>("outer", builder.getPageRef()); addOuterObject(actionTogglePanel); addOuterObject(altDefaultModal); http://git-wip-us.apache.org/repos/asf/syncope/blob/fed232c3/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java -- diff --git a/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java b/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java index 6975b2c..a76fe10 100644 --- a/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java +++ b/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java @@ -22,7 +22,7 @@ import java.util.List; public interface ItemContainerTO { -void setConnObjectLink(String connObjectLink); +ItemTO getConnObjectKeyItem(); boolean setConnObjectKeyItem(ItemTO connObjectKeyItem); http://git-wip-us.apache.org/repos/asf/syncope/blob/fed232c3/common/lib/src/main/java/org/apache/syncope/common/lib/to/MappingTO.java -- diff --git a/common/lib/src/main/java/org/apache/syncope/common/lib/to/MappingTO.java
[2/2] syncope git commit: Upgrading the SAML2SP ext to the latest changes
Upgrading the SAML2SP ext to the latest changes Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/d685eda8 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/d685eda8 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/d685eda8 Branch: refs/heads/master Commit: d685eda851a9a4a916a718e5f7a66a278dcc9456 Parents: 89fe831 Author: Francesco ChicchiriccòAuthored: Wed Aug 2 12:47:45 2017 +0200 Committer: Francesco Chicchiriccò Committed: Wed Aug 2 12:47:57 2017 +0200 -- .../client/console/panels/DirectoryPanel.java | 4 +- .../syncope/common/lib/to/ItemContainerTO.java | 2 +- .../apache/syncope/common/lib/to/MappingTO.java | 2 +- .../apache/syncope/common/lib/to/OrgUnitTO.java | 2 +- .../syncope/core/logic/AccessTokenLogic.java| 28 +++- .../jpa/entity/resource/JPAOrgUnitItem.java | 2 +- .../api/data/AccessTokenDataBinder.java | 5 +- .../java/data/AccessTokenDataBinderImpl.java| 33 ++--- .../spring/security/SyncopeJWTSSOProvider.java | 19 ++--- .../console/panels/SAML2IdPsDirectoryPanel.java | 20 ++ .../console/wizards/SAML2IdPMappingPanel.java | 2 +- .../console/wizards/SAML2IdPWizardBuilder.java | 3 +- .../panels/SAML2IdPsDirectoryPanel.properties | 1 + .../SAML2IdPsDirectoryPanel_it.properties | 1 + .../SAML2IdPsDirectoryPanel_pt_BR.properties| 1 + .../SAML2IdPsDirectoryPanel_ru.properties | 1 + .../syncope/common/lib/to/SAML2IdPTO.java | 24 --- .../apache/syncope/core/logic/SAML2SPLogic.java | 22 +- .../core/persistence/api/entity/SAML2IdP.java | 9 ++- .../persistence/api/entity/SAML2IdPItem.java| 28 .../jpa/entity/JPASAML2EntityFactory.java | 4 +- .../persistence/jpa/entity/JPASAML2IdP.java | 25 --- .../persistence/jpa/entity/JPASAML2IdPItem.java | 73 .../validation/entity/SAML2IdPValidator.java| 14 ++-- .../java/data/SAML2IdPDataBinderImpl.java | 33 - .../apache/syncope/fit/core/SAML2ITCase.java| 4 +- 26 files changed, 257 insertions(+), 105 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/d685eda8/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java -- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java index e066088..55cca0f 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/DirectoryPanel.java @@ -105,7 +105,7 @@ public abstract class DirectoryPanel< protected final BaseModal displayAttributeModal = new BaseModal<>("outer"); -private ActionLinksTogglePanel actionTogglePanel; +protected ActionLinksTogglePanel actionTogglePanel; /** * Create simple unfiltered search result panel. @@ -139,7 +139,7 @@ public abstract class DirectoryPanel< super(id, wizardInModal); setOutputMarkupId(true); -actionTogglePanel = new ActionLinksTogglePanel("outer", builder.getPageRef()); +actionTogglePanel = new ActionLinksTogglePanel<>("outer", builder.getPageRef()); addOuterObject(actionTogglePanel); addOuterObject(altDefaultModal); http://git-wip-us.apache.org/repos/asf/syncope/blob/d685eda8/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java -- diff --git a/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java b/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java index 6975b2c..a76fe10 100644 --- a/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java +++ b/common/lib/src/main/java/org/apache/syncope/common/lib/to/ItemContainerTO.java @@ -22,7 +22,7 @@ import java.util.List; public interface ItemContainerTO { -void setConnObjectLink(String connObjectLink); +ItemTO getConnObjectKeyItem(); boolean setConnObjectKeyItem(ItemTO connObjectKeyItem); http://git-wip-us.apache.org/repos/asf/syncope/blob/d685eda8/common/lib/src/main/java/org/apache/syncope/common/lib/to/MappingTO.java -- diff --git a/common/lib/src/main/java/org/apache/syncope/common/lib/to/MappingTO.java b/common/lib/src/main/java/org/apache/syncope/common/lib/to/MappingTO.java index 8fe6224..23c91ac 100644 ---
Syncope-2_0_X - Build # 74 - Fixed
The Apache Jenkins build system has built Syncope-2_0_X (build #74) Status: Fixed Check console output at https://builds.apache.org/job/Syncope-2_0_X/74/ to view the results.
Syncope-2_0_X - Build # 73 - Still Failing
The Apache Jenkins build system has built Syncope-2_0_X (build #73) Status: Still Failing Check console output at https://builds.apache.org/job/Syncope-2_0_X/73/ to view the results.
Syncope-2_0_X - Build # 72 - Still Failing
The Apache Jenkins build system has built Syncope-2_0_X (build #72) Status: Still Failing Check console output at https://builds.apache.org/job/Syncope-2_0_X/72/ to view the results.
syncope git commit: [SYNCOPE-1178] PlainSchema page empty while self update on Enduser
Repository: syncope Updated Branches: refs/heads/master 3948bbd7f -> 89fe83115 [SYNCOPE-1178] PlainSchema page empty while self update on Enduser Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/89fe8311 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/89fe8311 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/89fe8311 Branch: refs/heads/master Commit: 89fe8311579a2079c33a17cadbdb9be8e172972f Parents: 3948bbd Author: skylark17Authored: Wed Aug 2 09:29:18 2017 +0200 Committer: skylark17 Committed: Wed Aug 2 09:32:06 2017 +0200 -- .../syncope/client/enduser/resources/SchemaResource.java | 2 +- .../java/org/apache/syncope/core/logic/SyncopeLogic.java | 8 fit/enduser-reference/src/test/resources/tests/create.js | 2 +- fit/enduser-reference/src/test/resources/tests/edit.js | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/89fe8311/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java -- diff --git a/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java b/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java index 91e5bbe..36f11f4 100644 --- a/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java +++ b/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java @@ -77,7 +77,7 @@ public class SchemaResource extends BaseResource { getService(SyncopeService.class).readUserTypeExtension(group); classes = typeExt.getAuxClasses(); } catch (Exception e) { -LOG.error("Could not read User type extension for Group {}", group, e); +LOG.error("Could not read User type extension for Group {}", group); } } else { String anyTypeClass = attributes.getParameters().get("anyTypeClass").toString(); http://git-wip-us.apache.org/repos/asf/syncope/blob/89fe8311/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java -- diff --git a/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java b/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java index 6b603b9..eb33307 100644 --- a/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java +++ b/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java @@ -242,29 +242,29 @@ public class SyncopeLogic extends AbstractLogic { PLATFORM_INFO.getEntitlements().clear(); PLATFORM_INFO.getEntitlements().addAll(EntitlementsHolder.getInstance().getValues()); -PLATFORM_INFO.getAnyTypes().clear(); -PLATFORM_INFO.getUserClasses().clear(); -PLATFORM_INFO.getAnyTypeClasses().clear(); -PLATFORM_INFO.getResources().clear(); AuthContextUtils.execWithAuthContext(AuthContextUtils.getDomain(), new AuthContextUtils.Executable() { @Override public Void exec() { +PLATFORM_INFO.getAnyTypes().clear(); CollectionUtils.collect( anyTypeDAO.findAll(), EntityUtils.keyTransformer(), PLATFORM_INFO.getAnyTypes()); +PLATFORM_INFO.getUserClasses().clear(); CollectionUtils.collect( anyTypeDAO.findUser().getClasses(), EntityUtils.keyTransformer(), PLATFORM_INFO.getUserClasses()); +PLATFORM_INFO.getAnyTypeClasses().clear(); CollectionUtils.collect( anyTypeClassDAO.findAll(), EntityUtils.keyTransformer(), PLATFORM_INFO.getAnyTypeClasses()); +PLATFORM_INFO.getResources().clear(); CollectionUtils.collect( resourceDAO.findAll(), EntityUtils.keyTransformer(), http://git-wip-us.apache.org/repos/asf/syncope/blob/89fe8311/fit/enduser-reference/src/test/resources/tests/create.js -- diff --git a/fit/enduser-reference/src/test/resources/tests/create.js b/fit/enduser-reference/src/test/resources/tests/create.js
syncope git commit: [SYNCOPE-1178] PlainSchema page empty while self update on Enduser
Repository: syncope Updated Branches: refs/heads/2_0_X 7ea4eaa38 -> 7ced59639 [SYNCOPE-1178] PlainSchema page empty while self update on Enduser Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/7ced5963 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/7ced5963 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/7ced5963 Branch: refs/heads/2_0_X Commit: 7ced59639e09e0343d410b8b28894fb8e4480c2d Parents: 7ea4eaa Author: skylark17Authored: Wed Aug 2 09:29:18 2017 +0200 Committer: skylark17 Committed: Wed Aug 2 09:29:18 2017 +0200 -- .../syncope/client/enduser/resources/SchemaResource.java | 2 +- .../java/org/apache/syncope/core/logic/SyncopeLogic.java | 8 fit/enduser-reference/src/test/resources/tests/create.js | 2 +- fit/enduser-reference/src/test/resources/tests/edit.js | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/7ced5963/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java -- diff --git a/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java b/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java index 91e5bbe..36f11f4 100644 --- a/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java +++ b/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/SchemaResource.java @@ -77,7 +77,7 @@ public class SchemaResource extends BaseResource { getService(SyncopeService.class).readUserTypeExtension(group); classes = typeExt.getAuxClasses(); } catch (Exception e) { -LOG.error("Could not read User type extension for Group {}", group, e); +LOG.error("Could not read User type extension for Group {}", group); } } else { String anyTypeClass = attributes.getParameters().get("anyTypeClass").toString(); http://git-wip-us.apache.org/repos/asf/syncope/blob/7ced5963/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java -- diff --git a/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java b/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java index a309214..e51a449 100644 --- a/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java +++ b/core/logic/src/main/java/org/apache/syncope/core/logic/SyncopeLogic.java @@ -245,29 +245,29 @@ public class SyncopeLogic extends AbstractLogic { PLATFORM_INFO.getEntitlements().clear(); PLATFORM_INFO.getEntitlements().addAll(EntitlementsHolder.getInstance().getValues()); -PLATFORM_INFO.getAnyTypes().clear(); -PLATFORM_INFO.getUserClasses().clear(); -PLATFORM_INFO.getAnyTypeClasses().clear(); -PLATFORM_INFO.getResources().clear(); AuthContextUtils.execWithAuthContext(AuthContextUtils.getDomain(), new AuthContextUtils.Executable() { @Override public Void exec() { +PLATFORM_INFO.getAnyTypes().clear(); CollectionUtils.collect( anyTypeDAO.findAll(), EntityUtils.keyTransformer(), PLATFORM_INFO.getAnyTypes()); +PLATFORM_INFO.getUserClasses().clear(); CollectionUtils.collect( anyTypeDAO.findUser().getClasses(), EntityUtils.keyTransformer(), PLATFORM_INFO.getUserClasses()); +PLATFORM_INFO.getAnyTypeClasses().clear(); CollectionUtils.collect( anyTypeClassDAO.findAll(), EntityUtils.keyTransformer(), PLATFORM_INFO.getAnyTypeClasses()); +PLATFORM_INFO.getResources().clear(); CollectionUtils.collect( resourceDAO.findAll(), EntityUtils.keyTransformer(), http://git-wip-us.apache.org/repos/asf/syncope/blob/7ced5963/fit/enduser-reference/src/test/resources/tests/create.js -- diff --git a/fit/enduser-reference/src/test/resources/tests/create.js b/fit/enduser-reference/src/test/resources/tests/create.js
[2/2] syncope git commit: [SYNCOPE-1177] Confirmation flag for all ActionType.DELETE
[SYNCOPE-1177] Confirmation flag for all ActionType.DELETE Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/3948bbd7 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/3948bbd7 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/3948bbd7 Branch: refs/heads/master Commit: 3948bbd7f6870fe50b06fefe1a2b26286544e777 Parents: 43c66bf Author: Francesco ChicchiriccòAuthored: Wed Aug 2 09:21:40 2017 +0200 Committer: Francesco Chicchiriccò Committed: Wed Aug 2 09:21:50 2017 +0200 -- .../syncope/client/console/panels/ParametersDirectoryPanel.java| 2 +- .../client/console/reports/ReportTemplateDirectoryPanel.java | 2 +- .../apache/syncope/client/console/wizards/any/Relationships.java | 2 +- .../client/console/wizards/resources/ResourceProvisionPanel.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/3948bbd7/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java -- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java index cfac249..dda7186 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java @@ -175,7 +175,7 @@ public class ParametersDirectoryPanel } ((BasePage) pageRef.getPage()).getNotificationPanel().refresh(target); } -}, ActionLink.ActionType.DELETE, StandardEntitlement.CONFIGURATION_DELETE); +}, ActionLink.ActionType.DELETE, StandardEntitlement.CONFIGURATION_DELETE, true); return panel; } http://git-wip-us.apache.org/repos/asf/syncope/blob/3948bbd7/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java -- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java index 13a76c0..2d3c2c6 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java @@ -191,7 +191,7 @@ public class ReportTemplateDirectoryPanel } ((BasePage) pageRef.getPage()).getNotificationPanel().refresh(target); } -}, ActionLink.ActionType.DELETE, StandardEntitlement.MAIL_TEMPLATE_DELETE); +}, ActionLink.ActionType.DELETE, StandardEntitlement.MAIL_TEMPLATE_DELETE, true); return panel; } http://git-wip-us.apache.org/repos/asf/syncope/blob/3948bbd7/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java -- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java index 97e8ab6..1cc758c 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java @@ -156,7 +156,7 @@ public class Relationships extends WizardStep { removeRelationships(relationships, modelObject); send(Relationships.this, Broadcast.DEPTH, new ListViewReload<>(target)); } -}, ActionType.DELETE, AnyEntitlement.UPDATE.getFor(anyTO.getType())). +}, ActionType.DELETE, AnyEntitlement.UPDATE.getFor(anyTO.getType()), true). build(panelId); } }; http://git-wip-us.apache.org/repos/asf/syncope/blob/3948bbd7/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java -- diff --git