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 :
Bloc de code |
---|
<!-- 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 code |
---|
<!- 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> |
Ensuite un Faire ant deploy devrait suffire pour prise en compte.
...
Si lors de l'accès à une url en nuxeo/site/* vous avez cette erreur :
Volet |
---|
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 |
...