Hi,

Welcome to the Apache Syncope world.

I'm glad that you solved very soon :)

If you need some other help you can refer to the wiki at [1] and obviously to this mailing list.

Best regards,
Andrea

[1] https://cwiki.apache.org/confluence/display/SYNCOPE/Index


Il 23/02/2016 14:40, Santiago Moral ha scritto:
I could solved the problem. I've never saw the method getAttrs() of UserTO.

Thanks!

On 23/02/16 09:58, Santiago Moral wrote:
Hi,
I'm Santiago Moral and I want to create a new User with plain attributes using de Syncope Client 1.2.7 and I can't find a way to add this attributes to de entity UserTO. I've tried using the following code:

AttributeTO attributeTO = new AttributeTO();
attributeTO.setSchema(schema);
attributeTO.getValues().add(value);
userTO.getAttrMap().put(attributeTO.getSchema(), attributeTO);

I'm getting java.lang.UnsupportedOperationException becouse attrMap is an UnmodifiableMap.

I really apreciate any kind of help that you can bring to me.

Regards,
Santiago.


Reply via email to