CAS up to 3.3.3 uses Person Directory 1.1.2.  Does our documentation (in
CAS) point to some other version? If so, we should correct it.

Once CAS 3.3.4 is out, we'll have upgraded to 1.5.0, but we haven't released
CAS 3.3.4....yet.

You can find additional javadocs, etc. on PersonDirectory 1.1.2 here:
http://developer.jasig.org/projects/person-directory/1.1.2/

Hope that helps!

Cheers,
Scott


On Tue, Jul 28, 2009 at 1:07 AM, Heinz Drews <[email protected]> wrote:

> Hello Scott,
>
> my apologies, I should not have send the message in hurry but it was
> already late evening in Germany and I should not have send it.
>
> I wanted to see what happens in
> org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao and
> used the version from trunk, this is different to the version used in
> 3.3.3 and described in the wiki.
>
> I.e. setQuery is not longer there.
>
> The definition
> <bean id="attribRepository"
>
>  class="org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao">
>                <property name="baseDN"
>                        value="ou=people,o=company,c=fr" />
>                <!-- This query is used to find the entry for populating
> attributes.
> {0} will be replaced by the new Principal ID extracted from the
> ldap-->
>                <property name="query" value="(uid={0})" />
>
>                <property name="contextSource" ref="contextSource" />
>                <property name="ldapAttributesToPortalAttributes">
>                        <map>
>                                <!-- Mapping beetween LDAP entry's
> attributes (key) and
> Principal"s (value) -->
>                                <entry key="cn" value="Name"/>
>                                <entry value="Telephone"
> key="telephoneNumber" />
>                                <entry value="Fax"
> key="facsimileTelephoneNumber" />
>                        </map>
>                </property>
>        </bean>
>
> fails now.  And Spring produces as usual several stack traces instead
> of the simple message what might be wrong with the configuration.
>
> I will use the sources from persondir 1.1.2 to continue.
>
> Best regards,
> Heinz
>
> On Mon, Jul 27, 2009 at 23:05, <[email protected]> wrote:
> >
> > What exactly doesn't "fit"? We can't help you if we don't know what's not
> working.
> >
> > Sent from my Verizon Wireless BlackBerry
> >
> > ________________________________
> > From: Heinz Drews
> > Date: Mon, 27 Jul 2009 22:59:21 +0200
> > To: <[email protected]>
> > Subject: [cas-user] User attributes
> > I tried to enable user attributes but the documentation does not fit to
> the implementation in CAS 3.3.3.
> >
> > Can somebody provide a working sample?
> >
> > Regards,
> > Heinz
> >
> > --
> > You are currently subscribed to [email protected] as:
> [email protected]
> > To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
> >
> > --
> > You are currently subscribed to [email protected] as:
> [email protected]
> > To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to