Hello,

This thread
http://www.mailinglistarchive.com/jetspeed-user@portals.apache.org/msg06502.html


and

I've tried to configure ldap authentification on jetspeed 2.2.1 and apache
DS 1.0.2 with help of this page:
http://portals.apache.org/jetspeed-2/deployguide/ldap.html


1/ The first part, configuring ApacheDS
With the http://portals.apache.org/jetspeed-2/deployguide/ldap.html doc,
it's OK.
Previously,  I've tried before with a more recent version but the schema
import failed.

2/ Configuring jetspeed:

I'm a bit confused, the 2 documents don't match:

I've tried method 1:
configuring security-spy.xml + override.properties
Seemly no connection to ldap
javax.security.auth.login.LoginException: The user tomcat does not exist.
        at org.apache.jetspeed.security.impl.DefaultLoginModule.login
(DefaultLog
inModule.java:258)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)

Following http://portals.apache.org/jetspeed-2/deployguide/ldap.html
For the first step, you will need to download three Spring configuration
files. When Jetspeed is deployed to Tomcat, it should be placed under
WEB-INF/assembly/override/ directory. Download from here:
http://people.apache.org/~taylor/LDAP/security-spi-ldap.xml,
http://people.apache.org/~taylor/LDAP/security-spi-ldap-atn.xm,
http://people.apache.org/~taylor/LDAP/security-spi-ldap-atz.xml


The security-spi-ldap.xml file will need to be modified. The other two do
not need to be modified.


One last step is to remove two files from the WEB-INF/assembly directory:


                           
 mv security-spi-atn.xml   
 alternate/                
                           
 mv security-spi-atz.xml   
 alternate/                
                           



Seemly this method is the old one, is that true?
I have the following exception:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.administration.PasswordGenerator'
defined in ServletContext resource [/WEB-INF/assembly/administration.xml]:
Cannot resolve reference to bean
'org.apache.jetspeed.security.spi.CredentialPasswordValidator' while
setting bean property 'validator'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'org.apache.jetspeed.security.spi.CredentialPasswordValidator' is
defined
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:275)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean


Did someone could make ldap work on jetspeed 2.2.1, how?
What mistake did I make, I can not imagine it doesn't work.

An answer would be very helpful, thanks in advance.

Jérôme

Exposition  Enluminures en terre d?Islam entre abstraction et figuration  - 
jusqu'au 25 septembre 2011 - BnF - Richelieu / Galerie Mansart Avant 
d'imprimer, pensez à l'environnement. 
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to