how-to Define a backup ldap server

2012-07-06 Thread jerome . dupont
Recently I had to connect to Active Directory. That's works fine, except one issue to manage: In our infrastructure, the load balancing between main ldap server and backup must be done by the applications, it's not automatic via a load balancer or what ever. Is it due to AD, or is it just a paric

Re: RE Jetspeed 2 2.2 - Jetspeed Schema

2012-03-12 Thread jerome . dupont
I've tried again very rapidally, and finally Without synchronizing everything at startup (tried but it din't work for any configuration reason), I've seen that there is still synchronization during login phase: (which is set in security-ldap.xml file, in _LdapUserPasswordCredentialManagerImplIniti

RE Jetspeed 2 2.2 - Jetspeed Schema

2012-03-09 Thread jerome . dupont
Hello, I had the same behavior. The infos are stored in jespeed database and in ldap. When you create a user through jetspeed it create the data in ldap and database at the same moment. If you just create the user in the ldap, the jetspeed database is not synchronized. Then you can try to create

Re: RE Jetspeed-2.2.2 work with LDAP Apache DS 1.5 up to 2.0 Successful

2012-03-05 Thread jerome . dupont
Ok, I set up a plan, I 'll try to complete the content gradually. Jérôme |---> | | | | | | | | | | |---> >

RE Jetspeed-2.2.2 work with LDAP Apache DS 1.5 up to 2.0 Successful

2012-03-05 Thread jerome . dupont
Congratulations!! Just a memo to say that you can configure in jetspeed.properties, the role you want to assign to your users when you create them. (If the role doesn't exists, the creation will failed, I think) This is an example. #--

Re: ldap configuration: trying to populate apacheDs 1.5: problem importing jetspeed schema

2012-03-04 Thread jerome . dupont
I just come back from my weekend , so I can answer just now. It's seems that you have found a solution. Anyway, I still answer. If I remember for Apache DS 157 initialization KO, I just changed ApacheDS version (v1.5.5 for me). Cordialement, --- Jérôme D

Re: ldap configuration: a configuration starting to work

2012-03-02 Thread jerome . dupont
Since this summer, I use my own schema (changing xml ldap ), so I don't have anymore schema import problem :-) But if I remember well, I imported the schema in apache You can find it in the directory components/jetspeed-security-schema/src/main/schema/jetspeed.schema) and converted it to ldif fil

Re: Handling malformed uri with WebContent

2012-01-19 Thread jerome . dupont
Yes, I've tried rapidly to get your patch 1/ I've generated a webcontent.jar form 1.2 version + your patch: IT WORKS FINE, even with a jetspeed 2.2.1 Notice that I didn't change the properties, because I just have a problem with space, not with some other caracter. 2/ I've tried to generate th

Re: Handling malformed uri with WebContent

2012-01-16 Thread jerome . dupont
Great!! Thanks. I'll try the workaround. Regards, Jérôme Exposition Casanova, la passion de la Liberté - du 15 novembre 2011 au 19 février 2012 - BnF - François-Mitterrand / Grande Galerie Avant d'imprimer, pensez à l'environnement. --

Handling malformed uri with WebContent

2012-01-13 Thread jerome . dupont
Hello First, just a word to say that our application has been released and is running in "real life", and it works! Second, I currenlty work on an integration with Lotus Notes, the goal is to show a view stored in Notes to see them through jetspeed so that users cannot see the Notes machines.

creation of a user in jetspeed which is already in the ldap

2011-11-16 Thread jerome . dupont
Hello I'm working on jetspeed 2.2.1, in ldap mode. The creation/desctruction of an user works fine, but I have a new usecase. I have an user which already exists in my ldap. (created by another application) When I use j2admin to create a user with the same id, I have the exception 2011-11-16 14

Re: New to jetspeed - want start with it

2011-10-13 Thread jerome . dupont
The link provides a jar, which also work on windows I've installed it on windows xp. The only thing is that I had to create a temp directory unless an error occured. These the command lines I used: Installation: D:\jed\downloads>mkdir C:\TEMP\antinstall D:\jed\downloads>java -jar jetspeed-insta

Re: New to jetspeed - want start with it

2011-10-13 Thread jerome . dupont
Thanks a lot for your reply. Yes, I went to demo link on apache site but the link looks like it is not working. For me the link http://apache.cict.fr//portals/jetspeed-2/binaries/jetspeed-installer-2.2.2.jar works. Could you please adhere the demo link which is in working position. Thanks, Gh

Re: authentificating with ldap javax.security.auth.login.LoginException on org.apache.catalina.realm.JAASRealm authenticate

2011-10-05 Thread jerome . dupont
Last problem: the solution The password is crypted in SHA-1 (it could be changed easily in configuration). In the security-ldap.xml file, the default algorythm for org.apache.jetspeed.security.spi.impl.LdapCredentialPasswordEncoder is CRYPT. I changed it to SHA, to be consistent with the other

Re: authentificating with ldap javax.security.auth.login.LoginException on org.apache.catalina.realm.JAASRealm authenticate

2011-10-05 Thread jerome . dupont
Hello, One more problem solved: userPassword attribute creation in the ldap With my configuration, user password wasn't created during registration stage. I have added back the cn attribute in userDao configuration, and the userPassword attribute is created in the ldap. One more problem found: T

Re: authentificating with ldap javax.security.auth.login.LoginException on org.apache.catalina.realm.JAASRealm authenticate

2011-10-04 Thread jerome . dupont
It works!!! Thanks To have asked me to describe all my changes it helped me to find out the configuration trouble So I can login, associated with the admin role (which is mapped with partenaires_admin role defined in my ldap. With the admin interface, I could create a user, and associate a role w

authentificating with ldap javax.security.auth.login.LoginException on org.apache.catalina.realm.JAASRealm authenticate

2011-10-03 Thread jerome . dupont
Hi everybody. I'm trying and trying to authentificate with my own ldap. (I've changed the names of the relationship between users and roles). The conection to the ldap is correct. (I've seen connection and retrieving of the user entity when debugging.) Synchronisation with db seems correct, as y

Re: ldap advanced configuration: changing ldap model

2011-09-27 Thread jerome . dupont
Hello, Thanks very much for these clear explanations. which enlightens me. I will clear the duplicate attribute. This week or next week, I will customize also role entity and role<->user relationship. I guess that the role entity work the same as the user one. And for the relationship, I've done o

ldap advanced configuration: changing ldap model

2011-09-26 Thread jerome . dupont
I'm still working on ldap, not far from the end :-) I am currenlty mapping our ldap definition with jetspeed. Indeed, we have our proper ldap schema that I have to use. It works fine, but I have a question about ldap beans mechanisms. For instance, we don't use uid. Our id is BnfIdentifiant, we

Re: problem occuring when I send mail from forgotten password class

2011-09-15 Thread jerome . dupont
Hello again, Problem is solved, tested in the demo jetspeed installation. There are different ways to solve emailing problem, which come from mail libraries: _ in the jetspeed/WEB-INF/lib, I remove geronimo-activation_1.1_spec-1.0.2.jar, geronimo-javamail_1.4_provider-1.7.jar, geronimo-javamail_

problem occuring when I send mail from forgotten password class

2011-09-15 Thread jerome . dupont
Hello, I'm trying to use the forgotten password portlet. and I have the following exception: Failed to send forgotten password email to user with email address because Mail server connection failed; nested exception is javax.mail.NoSuchProviderException: Unable to locate provider for protocol: sm

mutiple ldap connection

2011-09-07 Thread jerome . dupont
Just a short question. Is it possible to authentificate in jetspeed info from several ldaps, because internal users are not stored in the same ldap than external ones? More precisely: when someone logs in: jetspeed would search if he exists, in 2 ldap. when I create a new user, jetspeed would us

Re: ldap configuration: a configuration starting to work

2011-08-29 Thread jerome . dupont
Hello I'm still trying to make ldap work, and now it work more or less. I post this message to publish a working example in the web, and because I have some questions. 1/ Basic configuration: Jetpeed connects to ldap, and I have some users with which I can log in. With _ apacheDS 1.5.5 (NOT 1

Re: ldap configuration: trying to populate apacheDs 1.5: problem importing jetspeed schema

2011-08-04 Thread jerome . dupont
Hello again, I've seen in some mailing list importation problems on apacheds 1.5.7. So I've tried tu import ldap jetspeed schema in ldif format in ApacheDS 1.5.5 instead of ApacheDS 1.5.7 And... It works!! Morality: USE APACHEDS 1.5.5 RATHER THAN 1.5.7 !!! Now I made first tries to connect je

Re: ldap configuration: trying to populate apacheDs 1.5: problem importing jetspeed schema

2011-08-02 Thread jerome . dupont
See attachement doesn't seems to work, I join here the content of log and ldif file Log #!RESULT ERROR #!CONNECTION ldap://vpfvd026:10389 #!DATE 2011-08-02T08:55:06.713 #!ERROR [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for Add Request : ClientEntry dn: m-oid=1.3.6.1.4.1.8100.1.

ldap configuration: trying to populate apacheDs 1.5: problem importing jetspeed schema

2011-08-01 Thread jerome . dupont
Hello all, Still trying to make work jetspeed 2.2.1 with ldap, I advanced a little 1/ Jetspeed configuration: OK After rereading spring configuration mechanism and https://issues.apache.org/jira/browse/JS2-1143, I found how to be sure to be in ldap mode. No xml file to change, just a change i

Re: Asynchronous field in portlet.

2011-07-15 Thread jerome . dupont
Thanks very much for the answer, very clear and simple. We'll try it today. Regards, Jérôme |---> | | | | | | | | | | |---> >---

LDAP configuration: how to do

2011-07-12 Thread jerome . dupont
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, co

Asynchronous field in portlet.

2011-07-08 Thread jerome . dupont
Hello We want to execute a portlet in which a field has to be displayed in background. (because the data to display is long to request), so we want to update the field without displaying all the content of the portlet. _ We 've tried to execute an action in portlet. We managed to do it, but the

Re [LDAP configuration] howto configure ldap.

2011-06-22 Thread jerome . dupont
Hello again. Still trying to configure jetspeed with ldap. I got some logs: Actually jetspeed tries to connect to ldap, and the ldap server trhows an exception and disconnects jetspeed. These are the jetspeed logs 22.06.2011 09:23:33 DEBUG [org.springframework.ldap.pool.factory.DirContextPoolab

Re [LDAP configuration] howto configure ldap.

2011-06-21 Thread jerome . dupont
Hi all. I still have my ldap connection problem. I've made some tries: I've configured Debug log level on my ldap server, and when I login in jetspeed, it seems that jetspeed doesn't connect to Ldap server. Moreover I have an exception on jetpeed: 21 juin 2011 09:29:59 org.apache.catalina.realm.

[LDAP configuration] howto configure ldap.

2011-06-10 Thread jerome . dupont
Hello, I have configured a jetspeed 2.2.1 with LDAp with help of this thread: http://www.mailinglistarchive.com/jetspeed-user@portals.apache.org/msg06502.html 1/ Changing the override.properties file. #- # LDAP #--