[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-openam
Subject: [OpenAM] Default values for custom attributes
From: jt3518 () att ! com (THARP, JOSHUA L)
Date: 2012-08-31 20:38:33
Message-ID: 9514E6360AF2CB47A89090D3346364300AA9E580 () CAFRFD1MSGUSR9O ! ITServices ! sbc ! com
[Download RAW message or body]
For testing purposes, I tried clicking the "New" button in the subjects tab of my \
realm.
-----Original Message-----
From: openam-bounces@forgerock.org [mailto:openam-bounces at forgerock.org] On Behalf \
Of Bernhard Thalmayr
Sent: Friday, August 31, 2012 12:00 PM
To: openam at forgerock.org
Subject: Re: [OpenAM] Default values for custom attributes
Am 8/31/12 6:24 PM, schrieb THARP, JOSHUA L:
> Is it possible to have OpenAM fill in certain attributes when a new
> user is created?
How do you create a new user?
-Bernhard
If so, is this the correct way to do it?
>
> *From:*openam-bounces at forgerock.org
> [mailto:openam-bounces at forgerock.org] *On Behalf Of *THARP, JOSHUA L
> *Sent:* Wednesday, August 29, 2012 10:48 AM
> *To:* openam at forgerock.org
> *Subject:* Re: [OpenAM] Default values for custom attributes
>
> And yes, I've done the delete-svc and create-svc commands after making
> this change to amUser.xml.
>
> *From:*THARP, JOSHUA L
> *Sent:* Wednesday, August 29, 2012 10:45 AM
> *To:* openam at forgerock.org <mailto:openam at forgerock.org>
> *Subject:* Default values for custom attributes
>
> I've been successful at adding a custom attribute using the
> instructions found here:
> http://openam.forgerock.org/doc/dev-guide/index/chap-custom-attr.html
>
> What I would like is for one of my custom attributes to be initially
> populated when a new user is created. Looking at sms.dtd it seems that
> should be possible using something like the following:
>
> <AttributeSchema name="HOTPCounter"
>
> type="single"
>
> syntax="number"
>
> minValue="0"
>
> any="display"
>
> i18nKey="HOTP Counter">
>
> <DefaultValues>
>
> <Value>1</Value>
>
> </DefaultValues>
>
> </AttributeSchema>
>
> However, this hasn't seemed to have any effect on the behavior of
> OpenAM. Could someone please explain what I'm doing wrong?
>
> Thanks,
>
> Josh
>
>
>
> _______________________________________________
> OpenAM mailing list
> OpenAM at forgerock.org
> https://lists.forgerock.org/mailman/listinfo/openam
>
--
Painstaking Minds
IT-Consulting Bernhard Thalmayr
Herxheimer Str. 5, 83620 Vagen (Munich area), Germany
Tel: +49 (0)8062 7769174
Mobile: +49 (0)176 55060699
bernhard.thalmayr at painstakingminds.com - Solution Architect
This e-mail may contain confidential and/or privileged information.If you are not the \
intended recipient (or have received this email in error) please notify the sender \
immediately and delete this e-mail. Any unauthorized copying, disclosure or \
distribution of the material in this e-mail is strictly forbidden. \
_______________________________________________ OpenAM mailing list
OpenAM at forgerock.org
https://lists.forgerock.org/mailman/listinfo/openam
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic