[ 
https://issues.apache.org/jira/browse/SYNCOPE-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò updated SYNCOPE-290:
-------------------------------------------

    Attachment: SYNCOPE-290.png

This UML diagrams describes a refactory that could take place with this issue, 
e.g. introducing the notion of 'Subject' (for users and roles), as extension of 
the concept of 'Attributable' (that will stand for memberships and conf).

Moreover, by using [this 
hint|http://www.vlad-yatsenko.eu/2011/01/java-magic-extending-enumerations/] it 
should be also possible to introduce SubjectType (specialized AttributableType) 
and SubjectUtils (specialized AttributableUtils).

> Typed SyncopeConf
> -----------------
>
>                 Key: SYNCOPE-290
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-290
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Francesco Chicchiriccò
>             Fix For: 1.2.0
>
>         Attachments: SYNCOPE-290.png
>
>
> Currently SyncopeConf instances are <String, String> pairs: this has of 
> course various drawbacks (no check for mandatory values, enums not available, 
> ...)
> It should be relatively easy to create a set of SSchema / SAttr / SAttrValue 
> / SAttrUniqueValue (similar to what currently available for user / membership 
> / role) to replace the current SyncopeConf.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to