Recherche
...
ESUP-ECM est packagé pour fonctionner avec CAS.
N'est pas intégrer dans les .properties du package la possibilité de faire du LDAP seulement.
Néanmoins c'est possible.
Dans esup-ecm-config-plugin/src/main/resources/OSGI-INF/esup-login-contrib.xml il faut changer :
...
| Volet |
|---|
|
...
<!-- |
...
configure |
...
authentication |
...
chain |
...
--> |
...
|
...
<extension |
...
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" |
...
point="chain"> |
...
|
...
|
...
<authenticationChain> |
...
|
...
|
...
|
...
<plugins> |
...
|
...
|
...
|
...
|
...
<!-- |
...
Keep |
...
basic |
...
Auth |
...
at |
...
top |
...
of |
...
Auth |
...
chain |
...
to |
...
support |
...
RSS |
...
access |
...
via |
...
BasicAuth |
...
--> |
...
|
...
|
...
|
...
|
...
<plugin>BASIC_AUTH</plugin> |
...
|
...
|
...
|
...
|
...
<plugin>ANONYMOUS_AUTH</plugin> |
...
|
...
|
...
|
...
|
...
<!-- |
...
plugin>FORM_AUTH</plugin |
...
--> |
...
|
...
|
...
|
...
|
...
<plugin>CAS2_AUTH</plugin> |
...
|
...
|
...
|
...
</plugins> |
...
|
...
|
...
</authenticationChain> |
...
|
...
</extension> |
...
| Bloc de codepanel |
|---|
|
<!- configure authentication chain ->
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="chain">
<authenticationChain>
<plugins>
<!- Keep basic Auth at top of Auth chain to support RSS access via BasicAuth ->
<plugin>BASIC_AUTH</plugin>
<plugin>ANONYMOUS_AUTH</plugin>
<plugin>FORM_AUTH</plugin>
<!- plugin>CAS2_AUTH</plugin->
</plugins>
</authenticationChain>
</extension> |
Faire ant deploy pour prise en compte.
...