Il giorno 04/gen/2013, alle ore 17.37, Colm O hEigeartaigh ha scritto:

>> Hum, you're right: would you mind to open an issue for this?
> 
> https://issues.apache.org/jira/browse/SYNCOPE-265
> 
>> You are actually talking about SYNCOPE-136, scheduled for 1.2.0.
>> Subscribing a resource without providing a password has never been
>> possible without additional tweaking (a.k.a extending UserController and
>> overriding the update() method).
> 
> Ok thanks. However I can't seem to subscribe the User to a new Resource
> even by specifying the password - I guess it is complaining that the new
> password is the same as the old one. So there is no way to propagate an
> existing User to a remote resource without also changing the password, is
> this correct?

Hi Colm,
the default password history is specified by the global password policy.
You could change it to permit password change with the same password.

BTW, I would implement a simple improvement related to your issue.
I do think that in case of new resource subscription (explicitly or 
implicitly), password should be mandatory if and only a mapping for internal 
attribute "Password" exists for that resource.

If the new subscribed resource doesn't require password value, then a new 
password specification shouldn't be required.
WDYT?

> One other thing. I have a mapping from a backend attribute to a user
> virtual attribute in Syncope. I would have expected that on synchronization
> that the User would then have a attribute with the same name as the name
> specified in the mapping, with the given virtual value. However, I just see
> a blank value. If I input a new value it propagates successfully. What am I
> doing wrong here?

This sounds a little bit strange.
Let me understand ...
1. you synchronize a new user
2. you retrieve user details (from the admin console, I suppose) in order to 
check for sync result
3. mapped virtual attributes are empty

What about the external attributes on the resource after the sync?
External attributes mapped on virtual attributes are evaluated correctly?

Please, let me have some details more.

Regards,
F.

> Thanks,
> 
> Colm.
> 
> On Fri, Jan 4, 2013 at 3:30 PM, Francesco Chicchiriccò
> <ilgro...@apache.org>wrote:
> 
>> On 04/01/2013 16:26, Colm O hEigeartaigh wrote:
>>> Ok thanks. I guess it is something we should fix before the release.
>> 
>> Hum, you're right: would you mind to open an issue for this?
>> 
>> 
>>> Another question. I am creating a new user + adding a resource and it
>>> propagates fine. Next, I create another new user without a resource. I
>> then
>>> edit the user again and try to add a resource, and I get an error about
>> an
>>> empty password. Is this a regression? I seem to recall that I could do
>> this
>>> before.
>> 
>> You are actually talking about SYNCOPE-136, scheduled for 1.2.0.
>> Subscribing a resource without providing a password has never been
>> possible without additional tweaking (a.k.a extending UserController and
>> overriding the update() method).
>> 
>> Regards.
>> 
>>> On Fri, Jan 4, 2013 at 3:22 PM, Francesco Chicchiriccò
>>> <ilgro...@apache.org>wrote:
>>> 
>>>> On 04/01/2013 16:19, Colm O hEigeartaigh wrote:
>>>>> Hi all,
>>>>> 
>>>>> Launching Syncope 1.1-SNAPSHOT in embedded mode, a lot of the users
>> seem
>>>> to
>>>>> be invalid according to the schema. For example, "user1" is missing
>>>> values
>>>>> for the required attributes "surname" and "userId". Is this an
>> oversight
>>>> or
>>>>> is there any reason for this?
>>>> Hi Colm,
>>>> no reason AFAICT: embedded users are test users, have been defined time
>>>> over time and might not met current constraints.
>>>> 
>>>> Naturally, it is possible to have users with missing required attributes
>>>> only because they are not loaded via REST but at JDBC level.
>>>> 
>>>> Regards.
>> 
>> --
>> Francesco Chicchiriccò
>> 
>> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
>> http://people.apache.org/~ilgrosso/
>> 
>> 
> 
> 
> -- 
> Colm O hEigeartaigh
> 
> Talend Community Coder
> http://coders.talend.com

Reply via email to