Hi,

I try to use the nuxeo-platform-login-cas2 plugin with
5.4.1.

Copied the nuxeo-platform-login-cas2 jar in
nxserver/bundles

Config file nxserver/config/CAS2-config.xml


<component name="MyAPP.Cas2SSO">
  
<require>org.nuxeo.ecm.platform.ui.web.auth.defaultConfig</require>
   <require>org.nuxeo.ecm.platform.login.Cas2SSO</require>

   <!--  configure you CAS server parameters -->
   <extension
     
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
      point="authenticators">
      <authenticationPlugin
              name="CAS2_AUTH">
       <loginModulePlugin>Trusting_LM</loginModulePlugin>
       <parameters>
         <parameter name="ticketKey">ticket</parameter>
         <parameter
name="appURL">http://nuxeoserver.net:9080/nuxeo/nxstartup.faces</parameter>
         <parameter
name="serviceLoginURL">https://caserver.net:8443/cas/login</parameter>
         <parameter
name="serviceValidateURL">https://caserver.net:8443/cas/serviceValidate</parameter>
         <parameter name="serviceKey">service</parameter>
         <parameter
name="logoutURL">https://caserver.net:8443/cas/logout</parameter>
       </parameters>
      </authenticationPlugin>
  </extension>

   <!-- Include CAS2 into authentication chain -->
    <extension
     
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
      point="chain">
    <authenticationChain>
      <plugins>
        <plugin>BASIC_AUTH</plugin>
        <plugin>CAS2_AUTH</plugin>
      </plugins>
    </authenticationChain>
  </extension>
</component>



I get anonymous access but when I try to authenticate, I get
the login form.


---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to