You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2012/10/15 12:34:03 UTC
[jira] [Created] (SYNCOPE-222) Check for mandatory condition on
Virtual / Derived attributes
Francesco Chicchiriccò created SYNCOPE-222:
----------------------------------------------
Summary: Check for mandatory condition on Virtual / Derived attributes
Key: SYNCOPE-222
URL: https://issues.apache.org/jira/browse/SYNCOPE-222
Project: Syncope
Issue Type: Improvement
Components: core
Reporter: Francesco Chicchiriccò
Fix For: 1.1.0-incubating
"Mandatory condition" is a JEXL expression evaluating to boolean that can be specified during schema mapping [1].
When 'enforce mandatory condition" is checked as well, Syncope will consider any attribute part of the schema mapping (with mandatory condition evaluated to true) as mandatory, even though the corresponding attribute schema is not defined as mandatory.
Currently, this feature is working for plain attribute schemas, not derived or virtual.
[1] https://cwiki.apache.org/confluence/display/SYNCOPE/Schema,+attributes+and+mapping#Schema%2Cattributesandmapping-SchemaMapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SYNCOPE-222) Check for mandatory condition on
Virtual / Derived attributes
Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò resolved SYNCOPE-222.
--------------------------------------------
Resolution: Fixed
http://svn.apache.org/viewvc?rev=1398326&view=rev
> Check for mandatory condition on Virtual / Derived attributes
> -------------------------------------------------------------
>
> Key: SYNCOPE-222
> URL: https://issues.apache.org/jira/browse/SYNCOPE-222
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Fix For: 1.1.0-incubating
>
>
> "Mandatory condition" is a JEXL expression evaluating to boolean that can be specified during schema mapping [1].
> When 'enforce mandatory condition" is checked as well, Syncope will consider any attribute part of the schema mapping (with mandatory condition evaluated to true) as mandatory, even though the corresponding attribute schema is not defined as mandatory.
> Currently, this feature is working for plain attribute schemas, not derived or virtual.
> [1] https://cwiki.apache.org/confluence/display/SYNCOPE/Schema,+attributes+and+mapping#Schema%2Cattributesandmapping-SchemaMapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SYNCOPE-222) Check for mandatory condition on
Virtual / Derived attributes
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476217#comment-13476217 ]
Hudson commented on SYNCOPE-222:
--------------------------------
Integrated in Syncope-linux #292 (See [https://builds.apache.org/job/Syncope-linux/292/])
[SYNCOPE-222] Extending AbstractAttributableDataBinder for checking mandatory conditions on derived and external attributes (Revision 1398326)
Result = SUCCESS
ilgrosso :
Files :
* /incubator/syncope/trunk/client/src/main/java/org/apache/syncope/client/to/ResourceTO.java
* /incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceDetailsPanel.java
* /incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage.properties
* /incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage_it.properties
* /incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/panels/ResourceDetailsPanel.html
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractAttr.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractAttributable.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/ExternalResource.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/SchemaMapping.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/membership/MVirAttr.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/role/RVirAttr.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/user/UVirAttr.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/dao/impl/DerSchemaDAOImpl.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/dao/impl/SchemaDAOImpl.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/dao/impl/VirSchemaDAOImpl.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/controller/DerivedSchemaController.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/controller/VirtualSchemaController.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/AbstractAttributableDataBinder.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/ResourceDataBinder.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/SchemaDataBinder.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/UserDataBinder.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/util/AttributableUtil.java
* /incubator/syncope/trunk/core/src/main/java/org/apache/syncope/core/util/JexlUtil.java
* /incubator/syncope/trunk/core/src/test/java/org/apache/syncope/core/persistence/relationships/ResourceTest.java
* /incubator/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java
* /incubator/syncope/trunk/core/src/test/resources/content.xml
> Check for mandatory condition on Virtual / Derived attributes
> -------------------------------------------------------------
>
> Key: SYNCOPE-222
> URL: https://issues.apache.org/jira/browse/SYNCOPE-222
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Fix For: 1.1.0-incubating
>
>
> "Mandatory condition" is a JEXL expression evaluating to boolean that can be specified during schema mapping [1].
> When 'enforce mandatory condition" is checked as well, Syncope will consider any attribute part of the schema mapping (with mandatory condition evaluated to true) as mandatory, even though the corresponding attribute schema is not defined as mandatory.
> Currently, this feature is working for plain attribute schemas, not derived or virtual.
> [1] https://cwiki.apache.org/confluence/display/SYNCOPE/Schema,+attributes+and+mapping#Schema%2Cattributesandmapping-SchemaMapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (SYNCOPE-222) Check for mandatory condition on
Virtual / Derived attributes
Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò reassigned SYNCOPE-222:
----------------------------------------------
Assignee: Francesco Chicchiriccò
> Check for mandatory condition on Virtual / Derived attributes
> -------------------------------------------------------------
>
> Key: SYNCOPE-222
> URL: https://issues.apache.org/jira/browse/SYNCOPE-222
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Fix For: 1.1.0-incubating
>
>
> "Mandatory condition" is a JEXL expression evaluating to boolean that can be specified during schema mapping [1].
> When 'enforce mandatory condition" is checked as well, Syncope will consider any attribute part of the schema mapping (with mandatory condition evaluated to true) as mandatory, even though the corresponding attribute schema is not defined as mandatory.
> Currently, this feature is working for plain attribute schemas, not derived or virtual.
> [1] https://cwiki.apache.org/confluence/display/SYNCOPE/Schema,+attributes+and+mapping#Schema%2Cattributesandmapping-SchemaMapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira