chdemko / joomla-external-login

The External Login project allows Joomla! to manage external Authentication Servers
GNU General Public License v2.0
30 stars 19 forks source link

Full name xpath ? #22

Closed philou5672 closed 7 years ago

philou5672 commented 9 years ago

Bonjour,

Comment récupérer les attributs qui dans ce type de schéma

<property

            </property

Pour le user pas de souci mais pour les autres je ne vois pas

pouvez-vous m'aider?

merci

chdemko commented 9 years ago

Votre message semble incomplet.

philou5672 commented 9 years ago

Bonjour oui effectivement j'ai ce bean en xml: <bean id="attributeRepository"

                    <map>
                            <entry key="sn" value="sn" />
                            <entry key="givenName" value="givenName" />
                            <entry key="mail" value="mail" />
                            <entry key="uid" value="uid" />
                            <entry key="eduPersonAffiliation" value="eduPersonAffiliation" />
                            <entry key="groupMembership" value="groupMembership" />
                    </map>

je souhaite récupérer les attributs mail et givenName

Biensur je n'y arrive pas!! Merci d'avance

chdemko commented 9 years ago

Pourriez-vous m'afficher un exemple de réponse de votre serveur CAS pour un succès?

philou5672 commented 9 years ago

Bonjour,

et merci

voici le schéma de réponse que j'ai dans mes logs ( j'ai volontairement caché le user): `

prxxxxx ` merci de votre aide
chdemko commented 9 years ago

Visisblement, votre serveur CAS n'exporte pas les attributs dans sa réponse...

gregkoron commented 7 years ago

Hi I have the same issue, however I have tested the response of the CAS server with phpCAS 1.3.0 and I normally receive the attributes that I need. Does anyone have any clue?

I figured out that I receive the attributes with the phpCAS library only by using SAML 1.1 authentication. When I use a higher version of SAML then I receive an empty array. Thus, I assume that this is the cause of not receiving the attributes in the XML response of "joomla-external-login"