Projet esup-ecm

Recherche

Sommaire

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

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>

...

en :

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.

...