...
La propriété uidPortalAttribute est le nom de l'attribut du portail qui sera considéré comme l'identifiant de l'utilisateur. Il doit être déclaré dans le fichier /webapp/WEB-INF/portlet.xml. Par défaut il prendra "uid".
| Bloc de code |
|---|
<portlet-app>
[...]
<user-attribute>
<name>uid</name>
</user-attribute>
<user-attribute>
<name>displayName</name>
</user-attribute>
</portlet-app>
|
Cette implémentation ne fonctionne qu'en mode portlet.
Portail cassifié
| Bloc de code |
|---|
<bean id="authenticationService" class="org.esupportail.commons.services.authentication.CasifiedPortalAuthenticationService" > <property name="uidPortalAttribute" value="uid" /> </bean> |
Portail shibbolisé
| Bloc de code |
|---|
<bean id="authenticationService" class="org.esupportail.commons.services.authentication.ShibbolizedPortalAuthenticationService" > <property name="uidPortalAttribute" value="uid" /> </bean> |
| Remarque | ||
|---|---|---|
| ||
Shib |
...