Workflow ORI-OAI avec authentification shibboleth

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:8c233b9f0e5e912fc14c375057c9659e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>Comme nous utilisons shibboleth et n\'avons donc pas de LDAP, je cherche à forcer les champ from dans l\'envoi d\'email du workflow (cf code ci_dessous).\n</div>\n', created = 1507748337, expire = 1507834737, headers = '', serialized = 0 WHERE cid = '4:8c233b9f0e5e912fc14c375057c9659e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:8c233b9f0e5e912fc14c375057c9659e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>Comme nous utilisons shibboleth et n\'avons donc pas de LDAP, je cherche à forcer les champ from dans l\'envoi d\'email du workflow (cf code ci_dessous).\n</div>\n', created = 1507748337, expire = 1507834737, headers = '', serialized = 0 WHERE cid = '4:8c233b9f0e5e912fc14c375057c9659e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:b8d0c3d0e61adb33fd584bbdade132f5' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour Patrick,<br />\nJe vais laisser les autres membres de la liste répondre au mieux,<br />\nn\'étant plus très au fait de la chose.<br />\nMais as-tu vérifier en premier lieu que ta base de données était bien en<br />\ninnodb (et non myisam) si tu utilises mysql ?<br />\n(pour infos les debug ici correspondent à un fonctionnement normal de<br />\nl\'application)<br />\nBon courage,<br />\nVincent.</p>\n<p>On 10/03/2011 15:06, Patrick Delage wrote:<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour Vincent,<br />\n> Je viens de test avec succès shib:true<br />\n> Ce qui offre également une possibilité d\'ouverture.<br />\n><br />\n> Par contre la méthode matches ramène une erreur<br />\n><br />\n> 74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java<br />\n> expression evaluation with janino when construct shib groups<br />\n> org.codehaus.janino.CompileException: Line 1, Column 33: A method<br />\n> named \"matches\" is not declared in any enclosing class nor any<br />\n> supertype, nor through a static import<br />\n><br />\n> Ensuite, j\'en profite pour régler le pb suivant :<br />\n> J\'essaie de créer une ressource documentaire dc_easy, qui me donne<br />\n> l\'erreur suivante puis une sqlexception<br />\n><br />\n> 191464 DEBUG services.OsWorkflowService oriCanInitialize[174] - Test<br />\n> if we can initialize the workflow instance: dc_easy<br />\n> 191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -<br />\n> authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:<br />\n> Username:<br />\n> org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8;<br />\n> Password: [PROTECTED]; Authenticated: true; Details:<br />\n> org.acegisecurity.ui.WebAuthenticationDetails@fffe9938:<br />\n> RemoteIpAddress: 172.16.7.62; SessionId:<br />\n> C1529103B18E085342B36406AB9F3C6A; Granted Authorities: DCE_moderators,<br />\n> DCE_all, DCE_admins, admins, UME_admins<br />\n> 191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -<br />\n> oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99<br />\n> 191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61] -<br />\n> This Osworkflow Factory can\'t get the workflow dc_easy, application is<br />\n> going to try with the next retrieved osworkflow factory<br />\n><br />\n> uncategorized SQLException for SQL [insert into ORI_WORKFLOW_INSTANCE<br />\n> (workflowId, lockId, existId, xmlContent, title, metadataTypeId,<br />\n> isTemplate, modifiedDate, creatorUserProfilId, entryId, entryIdx,<br />\n> INSTANCE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];<br />\n><br />\n> Merci pour ton aide.<br />\n> Cordialement,<br />\n><br />\n></div>\n</blockquote>\n</div>\n', created = 1507748337, expire = 1507834737, headers = '', serialized = 0 WHERE cid = '4:b8d0c3d0e61adb33fd584bbdade132f5' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:b8d0c3d0e61adb33fd584bbdade132f5' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour Patrick,<br />\nJe vais laisser les autres membres de la liste répondre au mieux,<br />\nn\'étant plus très au fait de la chose.<br />\nMais as-tu vérifier en premier lieu que ta base de données était bien en<br />\ninnodb (et non myisam) si tu utilises mysql ?<br />\n(pour infos les debug ici correspondent à un fonctionnement normal de<br />\nl\'application)<br />\nBon courage,<br />\nVincent.</p>\n<p>On 10/03/2011 15:06, Patrick Delage wrote:<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour Vincent,<br />\n> Je viens de test avec succès shib:true<br />\n> Ce qui offre également une possibilité d\'ouverture.<br />\n><br />\n> Par contre la méthode matches ramène une erreur<br />\n><br />\n> 74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java<br />\n> expression evaluation with janino when construct shib groups<br />\n> org.codehaus.janino.CompileException: Line 1, Column 33: A method<br />\n> named \"matches\" is not declared in any enclosing class nor any<br />\n> supertype, nor through a static import<br />\n><br />\n> Ensuite, j\'en profite pour régler le pb suivant :<br />\n> J\'essaie de créer une ressource documentaire dc_easy, qui me donne<br />\n> l\'erreur suivante puis une sqlexception<br />\n><br />\n> 191464 DEBUG services.OsWorkflowService oriCanInitialize[174] - Test<br />\n> if we can initialize the workflow instance: dc_easy<br />\n> 191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -<br />\n> authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:<br />\n> Username:<br />\n> org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8;<br />\n> Password: [PROTECTED]; Authenticated: true; Details:<br />\n> org.acegisecurity.ui.WebAuthenticationDetails@fffe9938:<br />\n> RemoteIpAddress: 172.16.7.62; SessionId:<br />\n> C1529103B18E085342B36406AB9F3C6A; Granted Authorities: DCE_moderators,<br />\n> DCE_all, DCE_admins, admins, UME_admins<br />\n> 191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -<br />\n> oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99<br />\n> 191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61] -<br />\n> This Osworkflow Factory can\'t get the workflow dc_easy, application is<br />\n> going to try with the next retrieved osworkflow factory<br />\n><br />\n> uncategorized SQLException for SQL [insert into ORI_WORKFLOW_INSTANCE<br />\n> (workflowId, lockId, existId, xmlContent, title, metadataTypeId,<br />\n> isTemplate, modifiedDate, creatorUserProfilId, entryId, entryIdx,<br />\n> INSTANCE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];<br />\n><br />\n> Merci pour ton aide.<br />\n> Cordialement,<br />\n><br />\n></div>\n</blockquote>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:b8d0c3d0e61adb33fd584bbdade132f5' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:548e9c6f4fe402a115d0007ec850226b' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,<br />\nProblème résolu.<br />\nJ\'ai réinstallé mysql-server 5.1 avec innodb comme engine par défaut,<br />\npuis recréer la bas orioaiworkflow.</p>\n<p>--<br />\nPatrick Delage<br />\nResponsable Pôle Services Web - ENT<br />\nDSI Université du Maine<br />\nAv. Olivier MESSIAEN - 72085 LE MANS CEDEX 9<br />\nTél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01</p>\n<p>Le 10/03/2011 16:05, Patrick Delage a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Merci Vincent,<br />\n> La base mysql est bien en innodb.<br />\n> Je continue de chercher de mon côté.<br />\n> Patrick<br />\n><br />\n> Le 10/03/2011 15:21, Vincent Bonamy a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Bonjour Patrick,<br />\n>> Je vais laisser les autres membres de la liste répondre au mieux,<br />\n>> n\'étant plus très au fait de la chose.<br />\n>> Mais as-tu vérifier en premier lieu que ta base de données était bien<br />\n>> en innodb (et non myisam) si tu utilises mysql ?<br />\n>> (pour infos les debug ici correspondent à un fonctionnement normal de<br />\n>> l\'application)<br />\n>> Bon courage,<br />\n>> Vincent.<br />\n>><br />\n>><br />\n>><br />\n>> On 10/03/2011 15:06, Patrick Delage wrote:</p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>> Bonjour Vincent,<br />\n>>> Je viens de test avec succès shib:true<br />\n>>> Ce qui offre également une possibilité d\'ouverture.<br />\n>>><br />\n>>> Par contre la méthode matches ramène une erreur<br />\n>>><br />\n>>> 74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java<br />\n>>> expression evaluation with janino when construct shib groups<br />\n>>> org.codehaus.janino.CompileException: Line 1, Column 33: A method<br />\n>>> named \"matches\" is not declared in any enclosing class nor any<br />\n>>> supertype, nor through a static import<br />\n>>><br />\n>>> Ensuite, j\'en profite pour régler le pb suivant :<br />\n>>> J\'essaie de créer une ressource documentaire dc_easy, qui me donne<br />\n>>> l\'erreur suivante puis une sqlexception<br />\n>>><br />\n>>> 191464 DEBUG services.OsWorkflowService oriCanInitialize[174] -<br />\n>>> Test if we can initialize the workflow instance: dc_easy<br />\n>>> 191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -<br />\n>>> authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:<br />\n>>> Username:<br />\n>>> org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8;<br />\n>>> Password: [PROTECTED]; Authenticated: true; Details:<br />\n>>> org.acegisecurity.ui.WebAuthenticationDetails@fffe9938:<br />\n>>> RemoteIpAddress: 172.16.7.62; SessionId:<br />\n>>> C1529103B18E085342B36406AB9F3C6A; Granted Authorities:<br />\n>>> DCE_moderators, DCE_all, DCE_admins, admins, UME_admins<br />\n>>> 191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -<br />\n>>> oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99<br />\n>>> 191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61]<br />\n>>> - This Osworkflow Factory can\'t get the workflow dc_easy,<br />\n>>> application is going to try with the next retrieved osworkflow factory<br />\n>>><br />\n>>> uncategorized SQLException for SQL [insert into<br />\n>>> ORI_WORKFLOW_INSTANCE (workflowId, lockId, existId, xmlContent,<br />\n>>> title, metadataTypeId, isTemplate, modifiedDate,<br />\n>>> creatorUserProfilId, entryId, entryIdx, INSTANCE_ID) values (?, ?,<br />\n>>> ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];<br />\n>>><br />\n>>> Merci pour ton aide.<br />\n>>> Cordialement,<br />\n>>><br />\n>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>></div>\n</blockquote>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:548e9c6f4fe402a115d0007ec850226b' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:6431e4c32a6b05409ae38ba2949c4abe' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Merci Vincent,<br />\nLa base mysql est bien en innodb.<br />\nJe continue de chercher de mon côté.<br />\nPatrick</p>\n<p>Le 10/03/2011 15:21, Vincent Bonamy a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour Patrick,<br />\n> Je vais laisser les autres membres de la liste répondre au mieux,<br />\n> n\'étant plus très au fait de la chose.<br />\n> Mais as-tu vérifier en premier lieu que ta base de données était bien<br />\n> en innodb (et non myisam) si tu utilises mysql ?<br />\n> (pour infos les debug ici correspondent à un fonctionnement normal de<br />\n> l\'application)<br />\n> Bon courage,<br />\n> Vincent.<br />\n><br />\n><br />\n><br />\n> On 10/03/2011 15:06, Patrick Delage wrote:</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Bonjour Vincent,<br />\n>> Je viens de test avec succès shib:true<br />\n>> Ce qui offre également une possibilité d\'ouverture.<br />\n>><br />\n>> Par contre la méthode matches ramène une erreur<br />\n>><br />\n>> 74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java<br />\n>> expression evaluation with janino when construct shib groups<br />\n>> org.codehaus.janino.CompileException: Line 1, Column 33: A method<br />\n>> named \"matches\" is not declared in any enclosing class nor any<br />\n>> supertype, nor through a static import<br />\n>><br />\n>> Ensuite, j\'en profite pour régler le pb suivant :<br />\n>> J\'essaie de créer une ressource documentaire dc_easy, qui me donne<br />\n>> l\'erreur suivante puis une sqlexception<br />\n>><br />\n>> 191464 DEBUG services.OsWorkflowService oriCanInitialize[174] - Test<br />\n>> if we can initialize the workflow instance: dc_easy<br />\n>> 191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -<br />\n>> authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:<br />\n>> Username:<br />\n>> org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8; Password:<br />\n>> [PROTECTED]; Authenticated: true; Details:<br />\n>> org.acegisecurity.ui.WebAuthenticationDetails@fffe9938:<br />\n>> RemoteIpAddress: 172.16.7.62; SessionId:<br />\n>> C1529103B18E085342B36406AB9F3C6A; Granted Authorities:<br />\n>> DCE_moderators, DCE_all, DCE_admins, admins, UME_admins<br />\n>> 191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -<br />\n>> oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99<br />\n>> 191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61]<br />\n>> - This Osworkflow Factory can\'t get the workflow dc_easy, application<br />\n>> is going to try with the next retrieved osworkflow factory<br />\n>><br />\n>> uncategorized SQLException for SQL [insert into ORI_WORKFLOW_INSTANCE<br />\n>> (workflowId, lockId, existId, xmlContent, title, metadataTypeId,<br />\n>> isTemplate, modifiedDate, creatorUserProfilId, entryId, entryIdx,<br />\n>> INSTANCE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];<br />\n>><br />\n>> Merci pour ton aide.<br />\n>> Cordialement,<br />\n>><br />\n>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>></div>\n</blockquote>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:6431e4c32a6b05409ae38ba2949c4abe' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:bcf093829caac1fa21c23d70e474a787' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour Vincent,<br />\nJe viens de test avec succès shib:true<br />\nCe qui offre également une possibilité d\'ouverture.</p>\n<p>Par contre la méthode matches ramène une erreur</p>\n<p>74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java<br />\nexpression evaluation with janino when construct shib groups<br />\norg.codehaus.janino.CompileException: Line 1, Column 33: A method named<br />\n\"matches\" is not declared in any enclosing class nor any supertype, nor<br />\nthrough a static import</p>\n<p>Ensuite, j\'en profite pour régler le pb suivant :<br />\nJ\'essaie de créer une ressource documentaire dc_easy, qui me donne<br />\nl\'erreur suivante puis une sqlexception</p>\n<p>191464 DEBUG services.OsWorkflowService oriCanInitialize[174] - Test if<br />\nwe can initialize the workflow instance: dc_easy<br />\n191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -<br />\nauthentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:<br />\nUsername:<br />\norg.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8;<br />\nPassword: [PROTECTED]; Authenticated: true; Details:<br />\norg.acegisecurity.ui.WebAuthenticationDetails@fffe9938: RemoteIpAddress:<br />\n172.16.7.62; SessionId: C1529103B18E085342B36406AB9F3C6A; Granted<br />\nAuthorities: DCE_moderators, DCE_all, DCE_admins, admins, UME_admins<br />\n191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -<br />\noriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99<br />\n191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61] -<br />\nThis Osworkflow Factory can\'t get the workflow dc_easy, application is<br />\ngoing to try with the next retrieved osworkflow factory</p>\n<p>uncategorized SQLException for SQL [insert into ORI_WORKFLOW_INSTANCE<br />\n(workflowId, lockId, existId, xmlContent, title, metadataTypeId,<br />\nisTemplate, modifiedDate, creatorUserProfilId, entryId, entryIdx,<br />\nINSTANCE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];</p>\n<p>Merci pour ton aide.<br />\nCordialement,</p>\n<p>--<br />\nPatrick Delage<br />\nResponsable Pôle Services Web - ENT<br />\nDSI Université du Maine<br />\nAv. Olivier MESSIAEN - 72085 LE MANS CEDEX 9<br />\nTél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01</p>\n<p>Le 10/03/2011 11:39, Vincent Bonamy a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour,<br />\n> Je croyais que shib:true fonctionnait également simplement (mais je me<br />\n> trompe peut-être) ?<br />\n> Car en effet l\'idée était au départ de donner une expression java<br />\n> après le shib: ...<br />\n> de même je pense qu\'on doit pouvoir aussi utiliser la méthode matches<br />\n> (avec une regexp en argument) sur<br />\n> shibAttrsMap.get(\"unscoped-affiliation\") par ex. [en lieu et place du<br />\n> equals], avez-vous essayé ?<br />\n> Notez que je n\'ai rien testé de cela ...<br />\n> Aussi Merci de votre réponse.<br />\n> Cordialement,<br />\n> Vincent.<br />\n><br />\n><br />\n><br />\n> On 10/03/2011 11:17, Patrick Delage wrote:</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Bonjour,<br />\n>> Pour clore cette discussion, après échange avec Alain Ledrezen<br />\n>> (Université de Metz) que je remercie ici, la solution retenue est la<br />\n>> suivante.<br />\n>> Il n\'est pas possible d\'utiliser des fonctions avancées dans la<br />\n>> config du workflow. (type contains, regexp, ...)<br />\n>> Pour cibler une population, on peut utiliser d\'autres attributs (ex.<br />\n>> unscoped-affiliation). Il faut alors que les règles d\'usage, dans les<br />\n>> établissements de l\'UNR, convergent .....<br />\n>> Voici par exemple comment ouvrir à tous les personnels de nos<br />\n>> établissements (tester sur 2 pour le moment) :<br />\n>><br />\n>> dc_easy :<br />\n>> WORKFLOW_DC-E_GROUP_ALL=shib:shibAttrsMap.get(\"unscoped-affiliation\").equals(\"employee\")<br />\n>> || shibAttrsMap.get(\"unscoped-affiliation\").equals(\"member\") || .......<br />\n>> um_lom_easy :<br />\n>> WORKFLOW_UM-E_GROUP_ALL=shib:shibAttrsMap.get(\"unscoped-affiliation\").equals(\"employee\")<br />\n>> || shibAttrsMap.get(\"unscoped-affiliation\").equals(\"member\") || ....<br />\n>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>></div>\n</blockquote>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:bcf093829caac1fa21c23d70e474a787' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:0db9056c1e0980d1e2969474cfa86c2e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,<br />\nJe croyais que shib:true fonctionnait également simplement (mais je me<br />\ntrompe peut-être) ?<br />\nCar en effet l\'idée était au départ de donner une expression java après<br />\nle shib: ...<br />\nde même je pense qu\'on doit pouvoir aussi utiliser la méthode matches<br />\n(avec une regexp en argument) sur<br />\nshibAttrsMap.get(\"unscoped-affiliation\") par ex. [en lieu et place du<br />\nequals], avez-vous essayé ?<br />\nNotez que je n\'ai rien testé de cela ...<br />\nAussi Merci de votre réponse.<br />\nCordialement,<br />\nVincent.</p>\n<p>On 10/03/2011 11:17, Patrick Delage wrote:<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour,<br />\n> Pour clore cette discussion, après échange avec Alain Ledrezen<br />\n> (Université de Metz) que je remercie ici, la solution retenue est la<br />\n> suivante.<br />\n> Il n\'est pas possible d\'utiliser des fonctions avancées dans la config<br />\n> du workflow. (type contains, regexp, ...)<br />\n> Pour cibler une population, on peut utiliser d\'autres attributs (ex.<br />\n> unscoped-affiliation). Il faut alors que les règles d\'usage, dans les<br />\n> établissements de l\'UNR, convergent .....<br />\n> Voici par exemple comment ouvrir à tous les personnels de nos<br />\n> établissements (tester sur 2 pour le moment) :<br />\n><br />\n> dc_easy :<br />\n> WORKFLOW_DC-E_GROUP_ALL=shib:shibAttrsMap.get(\"unscoped-affiliation\").equals(\"employee\")<br />\n> || shibAttrsMap.get(\"unscoped-affiliation\").equals(\"member\") || .......<br />\n> um_lom_easy :<br />\n> WORKFLOW_UM-E_GROUP_ALL=shib:shibAttrsMap.get(\"unscoped-affiliation\").equals(\"employee\")<br />\n> || shibAttrsMap.get(\"unscoped-affiliation\").equals(\"member\") || ....<br />\n></div>\n</blockquote>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:0db9056c1e0980d1e2969474cfa86c2e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:d34c39cc745bdb616108579cbcc6e87e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,<br />\nPour clore cette discussion, après échange avec Alain Ledrezen<br />\n(Université de Metz) que je remercie ici, la solution retenue est la<br />\nsuivante.<br />\nIl n\'est pas possible d\'utiliser des fonctions avancées dans la config<br />\ndu workflow. (type contains, regexp, ...)<br />\nPour cibler une population, on peut utiliser d\'autres attributs (ex.<br />\nunscoped-affiliation). Il faut alors que les règles d\'usage, dans les<br />\nétablissements de l\'UNR, convergent .....<br />\nVoici par exemple comment ouvrir à tous les personnels de nos<br />\nétablissements (tester sur 2 pour le moment) :</p>\n<p>dc_easy :<br />\nWORKFLOW_DC-E_GROUP_ALL=shib:shibAttrsMap.get(\"unscoped-affiliation\").equals(\"employee\")<br />\n|| shibAttrsMap.get(\"unscoped-affiliation\").equals(\"member\") || .......<br />\num_lom_easy :<br />\nWORKFLOW_UM-E_GROUP_ALL=shib:shibAttrsMap.get(\"unscoped-affiliation\").equals(\"employee\")<br />\n|| shibAttrsMap.get(\"unscoped-affiliation\").equals(\"member\") || ....</p>\n<p>--<br />\nPatrick Delage<br />\nResponsable Pôle Services Web - ENT<br />\nDSI Université du Maine<br />\nAv. Olivier MESSIAEN - 72085 LE MANS CEDEX 9<br />\nTél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01</p>\n<p>Le 07/03/2011 17:01, Patrick Delage a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Demande d\'information complémentaire :<br />\n><br />\n> Comment définir par exemple WORKFLOW_DC-VE_GROUP_ALL pour autoriser<br />\n> tous les utilisateurs authentifiés vi shibboleth<br />\n> (@univ-lemans.fr, @univ-nantes.fr, @univ-angers.fr, ...)<br />\n><br />\n> Merci<br />\n><br />\n> Le 07/03/2011 11:35, Patrick Delage a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Problème résolu.<br />\n>> Mon fichier attribute-maps.xml de mon SP fournit \"mail\" comme<br />\n>> adresse mail.<br />\n>> J\'ai donc corriger<br />\n>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"mail\").equals(\"<span id=\"919301b5c518c9ff00d1a59ebc883be5\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'919301b5c518c9ff00d1a59ebc883be5\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>><br />\n>> et le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml<br />\n>><br />\n<property name=\"remoteUserShibAttr\" value=\"mail\"/>\n>><br />\n>> Et j\'obtiens bien l\'interface du workflow attendue.<br />\n>> Merci<br />\n>> Patrick<br />\n>><br />\n>> Le 07/03/2011 10:57, Patrick Delage a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>> Bonjour Alain,<br />\n>>> Merci pour cette réponse qui me donne une piste de recherche de<br />\n>>> solution. Mon shibenv.php me donne mail et non<br />\n>>> Shib-InetOrgPerson-mail !Cela vient certainement du mapping des<br />\n>>> attributs de mon SP.<br />\n>>> Donc, ta réponse m\'a servi ;-)<br />\n>>> De plus, je sais maintenant ce que je dois obtenir :<br />\n>>> \"workflow avec un menu très réduit (Tableau de bord avec aucun accès<br />\n>>> - Mon profil avec simplement un nom d\'utilisateur- Quitter)\"<br />\n>>> Je vais donc voir du coté de mon SP.<br />\n>>> Merci encore.<br />\n>>> Patrick<br />\n>>><br />\n>>> Le 07/03/2011 10:33, Alain Le Drezen a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_3\"><p>>>>> Bonjour,<br />\n>>>><br />\n>>>><br />\n>>>> Cette réponse ne sera sans doute pas d\'une grande utilité mais bon ...<br />\n>>>><br />\n>>>> En lorraine nous utilisons aussi ORI avec Shibboleth.<br />\n>>>><br />\n>>>> Nous avons quasiment la même conf si ce n\'est que nous utilisons<br />\n>>>> l\'\"eppn\" à la place de \"Shib-InetOrgPerson-mail\".<br />\n>>>> Mais si shibenv.php te retourne bien \"Shib-InetOrgPerson-mail\" ça<br />\n>>>> ne devrait rien changer (mais j\'essaierai bien avec l\'eppn pour voir).<br />\n>>>><br />\n>>>> Soit pour nous :<br />\n>>>><br />\n>>>> pour le groupe admin<br />\n>>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"eppn\").equals(\"<span id=\"a3d5e92c57484df32761ceb295829e87\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'a3d5e92c57484df32761ceb295829e87\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\'+\'\">\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>>>><br />\n>>>><br />\n>>>><br />\n>>>> et aussi pour acegi-authentication-shib.xml<br />\n>>>><br />\n<property name=\"remoteUserShibAttr\" value=\"eppn\"/>\n>>>><br />\n>>>><br />\n>>>> Je ne pense pas que le problème vienne de la configuration des<br />\n>>>> groupes ou des autorisations du workflow car même sans aucun droit<br />\n>>>> tu devrais avoir accès au workflow avec un menu très réduit<br />\n>>>> (Tableau de bord avec aucun accès - Mon profil avec simplement un<br />\n>>>> nom d\'utilisateur- Quitter).<br />\n>>>><br />\n>>>><br />\n>>>> Alain<br />\n>>>><br />\n>>>><br />\n>>>><br />\n>>>><br />\n>>>><br />\n>>>><br />\n>>>> Le 07/03/2011 09:36, <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\">&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;</a> a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_4\"><p>>>>>> Dans le cadre d\'un projet de l\'UNR Pays de la Loire, je veux<br />\n>>>>> configurer un<br />\n>>>>> workflow ORI-OAI avec authentification sur la fédération<br />\n>>>>> d\'identité RENATER.<br />\n>>>>> Le SP est bien configuré sur le serveur pour récupérer l\'adresse mail<br />\n>>>>> fournie mon idp de test. (verification faite avec shibenv.php)<br />\n>>>>><br />\n>>>>> J\'ai configuré le workflow en fonction des infos disponibles sur<br />\n>>>>> le wiki<br />\n>>>>> ORI-OAI.<br />\n>>>>> ainsi que tous les autres modules (dernières versions sur le SVN)<br />\n>>>>><br />\n>>>>> J\'obtiens bien une authentification sur mon idp de test et arrive sur<br />\n>>>>> l\'interface du workflow (1.6.3) avec le message \"Merci de vous<br />\n>>>>> authentifier<br />\n>>>>> ...\"<br />\n>>>>> Je n\'ai bien sûr pas de choix d\'authentification CAS/LDAP que je<br />\n>>>>> n\'ai pas<br />\n>>>>> activées.<br />\n>>>>> Je reste donc bloqué à ce niveau ....<br />\n>>>>><br />\n>>>>> Pour mon test, j\'ai configuré l\'admin ainsi :<br />\n>>>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"e390b2fbe7141abbf400b0017fdabd65\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'e390b2fbe7141abbf400b0017fdabd65\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>>>>><br />\n>>>>><br />\n>>>>> et le workflow dc_very_easy avec mon email<br />\n>>>>> # Groupe des auteurs de ressources documentaires<br />\n>>>>> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)<br />\n>>>>> # Groupe des administrateurs<br />\n>>>>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"9100882bc513913dc72d7ce5de21ceb0\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'9100882bc513913dc72d7ce5de21ceb0\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>>>>><br />\n>>>>><br />\n>>>>> Le fichier<br />\n>>>>> conf/properties/spring/acegi/acegi-authentication-shib.xml reste<br />\n>>>>> inchangé :<br />\n>>>>><br />\n>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n>>>>> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n>>>>> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n>>>>><br />\n>>>>><br />\n>>>>> <beans><br />\n>>>>><br />\n>>>>> <bean name=\"shibAuthenticator\"<br />\n>>>>> class=\"org.orioai.workflow.services.application.shib.ShibAuthenticator\"><br />\n>>>>><br />\n>>>>><br />\n<property name=\"remoteUserShibAttr\"<br />\n>>>>> value=\"Shib-InetOrgPerson-mail\"/><br />\n>>>>><br />\n<property name=\"oriGroupConfigs\" ref=\"oriGroupConfigs\"/>\n>>>>> </bean><br />\n>>>>><br />\n>>>>> </beans><br />\n>>>>><br />\n>>>>> Ainsi que le fichier groups.xml du workflow very easy :<br />\n>>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n>>>>> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n>>>>> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n>>>>><br />\n>>>>><br />\n>>>>> <beans><br />\n>>>>> </p>\n<!--+\n>>>>> | WARNING ! The below \'name\' attribute for the bean of class\n>>>>> OriGroupConfig\n>>>>> | MUST have a different value in each pluggable configuration\n>>>>> (default_ao_complex, default_dc_easy, etc...)\n>>>>> +--><!--+\n>>>>> | WARNING ! The below \'name\' attribute for the bean of class\n>>>>> OriGroupConfig\n>>>>> | MUST have a different value in each pluggable configuration\n>>>>> (default_ao_complex, default_dc_easy, etc...)\n>>>>> +--><p>>>>>> <bean name=\"oriGroupConfigGeneral_DCVE\"<br />\n>>>>> class=\"org.orioai.workflow.services.acls.OriGroupConfig\"><br />\n>>>>><br />\n>>>>><br />\n<property name=\"groupsMap\">\n>>>>> <description><br />\n>>>>> groupsMap defines a Map where<br />\n>>>>> * keys are groups names<br />\n>>>>> * values are ldap, virtual or<br />\n>>>>> shibboleth groups used<br />\n>>>>> </description><br />\n>>>>> <map><br />\n>>>>> <entry key=\"DCVE_all\"><br />\n>>>>><br />\n>>>>> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ALL]]]></value><br />\n>>>>> </entry><br />\n>>>>> <entry key=\"DCVE_admins\"><br />\n>>>>><br />\n>>>>> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ADMINS]]]></value><br />\n>>>>> </entry><br />\n>>>>> </map><br />\n>>>>> </property>\n>>>>><br />\n>>>>> </bean><br />\n>>>>><br />\n>>>>><br />\n>>>>> </beans><br />\n>>>>><br />\n>>>>> Merci pour votre aide.<br />\n>>>>> P. Delage</p></blockquote>\n<blockquote class=\"emailFilter_Author_3\"><p>>>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>><br />\n>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>><br />\n>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>><br />\n></div>\n</blockquote>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:d34c39cc745bdb616108579cbcc6e87e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:54f2e1dc31ef331a93f5f891516ba721' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour Alain,<br />\nJe reviens directement vers toi. As-tu vu mon dernier message sur la liste.<br />\nJe pense que tu dois avoir la réponse à la question suivante :</p>\n<p>Comment définir par exemple WORKFLOW_DC-VE_GROUP_ALL pour autoriser tous<br />\nles utilisateurs authentifiés vi shibboleth<br />\n(@univ-lemans.fr, @univ-nantes.fr, @univ-angers.fr, ...) autrement dit,<br />\ntoute personnes authentifié (l\'équivalent à virtual:(objectClass=Person)<br />\nquand on utilise CAS/LDAP)<br />\nDans mon cas, la config de mon SP ne permet l\'accès qu\'aux idp de nos 3<br />\nétablissement.<br />\nD\'avance merci.</p>\n<p>--<br />\nPatrick Delage<br />\nResponsable Pôle Services Web - ENT<br />\nDSI Université du Maine<br />\nAv. Olivier MESSIAEN - 72085 LE MANS CEDEX 9<br />\nTél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01</p>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:54f2e1dc31ef331a93f5f891516ba721' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:71981c6db8b903d490a318ac8f5f8a52' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Demande d\'information complémentaire :</p>\n<p>Comment définir par exemple WORKFLOW_DC-VE_GROUP_ALL pour autoriser tous<br />\nles utilisateurs authentifiés vi shibboleth<br />\n(@univ-lemans.fr, @univ-nantes.fr, @univ-angers.fr, ...)</p>\n<p>Merci</p>\n<p>Le 07/03/2011 11:35, Patrick Delage a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Problème résolu.<br />\n> Mon fichier attribute-maps.xml de mon SP fournit \"mail\" comme adresse<br />\n> mail.<br />\n> J\'ai donc corriger<br />\n> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"mail\").equals(\"<span id=\"4a8d885f9defe78bd82caa80c3dc4374\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'4a8d885f9defe78bd82caa80c3dc4374\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n><br />\n> et le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml<br />\n><br />\n<property name=\"remoteUserShibAttr\" value=\"mail\"/>\n><br />\n> Et j\'obtiens bien l\'interface du workflow attendue.<br />\n> Merci<br />\n> Patrick<br />\n><br />\n> Le 07/03/2011 10:57, Patrick Delage a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Bonjour Alain,<br />\n>> Merci pour cette réponse qui me donne une piste de recherche de<br />\n>> solution. Mon shibenv.php me donne mail et non<br />\n>> Shib-InetOrgPerson-mail !Cela vient certainement du mapping des<br />\n>> attributs de mon SP.<br />\n>> Donc, ta réponse m\'a servi ;-)<br />\n>> De plus, je sais maintenant ce que je dois obtenir :<br />\n>> \"workflow avec un menu très réduit (Tableau de bord avec aucun accès<br />\n>> - Mon profil avec simplement un nom d\'utilisateur- Quitter)\"<br />\n>> Je vais donc voir du coté de mon SP.<br />\n>> Merci encore.<br />\n>> Patrick<br />\n>><br />\n>> Le 07/03/2011 10:33, Alain Le Drezen a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>> Bonjour,<br />\n>>><br />\n>>><br />\n>>> Cette réponse ne sera sans doute pas d\'une grande utilité mais bon ...<br />\n>>><br />\n>>> En lorraine nous utilisons aussi ORI avec Shibboleth.<br />\n>>><br />\n>>> Nous avons quasiment la même conf si ce n\'est que nous utilisons<br />\n>>> l\'\"eppn\" à la place de \"Shib-InetOrgPerson-mail\".<br />\n>>> Mais si shibenv.php te retourne bien \"Shib-InetOrgPerson-mail\" ça ne<br />\n>>> devrait rien changer (mais j\'essaierai bien avec l\'eppn pour voir).<br />\n>>><br />\n>>> Soit pour nous :<br />\n>>><br />\n>>> pour le groupe admin<br />\n>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"eppn\").equals(\"<span id=\"da04bb7ea205b8ade3f68b47c686d450\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'da04bb7ea205b8ade3f68b47c686d450\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\'+\'\">\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>>><br />\n>>><br />\n>>><br />\n>>> et aussi pour acegi-authentication-shib.xml<br />\n>>><br />\n<property name=\"remoteUserShibAttr\" value=\"eppn\"/>\n>>><br />\n>>><br />\n>>> Je ne pense pas que le problème vienne de la configuration des<br />\n>>> groupes ou des autorisations du workflow car même sans aucun droit<br />\n>>> tu devrais avoir accès au workflow avec un menu très réduit (Tableau<br />\n>>> de bord avec aucun accès - Mon profil avec simplement un nom<br />\n>>> d\'utilisateur- Quitter).<br />\n>>><br />\n>>><br />\n>>> Alain<br />\n>>><br />\n>>><br />\n>>><br />\n>>><br />\n>>><br />\n>>><br />\n>>> Le 07/03/2011 09:36, <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\">&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;</a> a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_3\"><p>>>>> Dans le cadre d\'un projet de l\'UNR Pays de la Loire, je veux<br />\n>>>> configurer un<br />\n>>>> workflow ORI-OAI avec authentification sur la fédération d\'identité<br />\n>>>> RENATER.<br />\n>>>> Le SP est bien configuré sur le serveur pour récupérer l\'adresse mail<br />\n>>>> fournie mon idp de test. (verification faite avec shibenv.php)<br />\n>>>><br />\n>>>> J\'ai configuré le workflow en fonction des infos disponibles sur le<br />\n>>>> wiki<br />\n>>>> ORI-OAI.<br />\n>>>> ainsi que tous les autres modules (dernières versions sur le SVN)<br />\n>>>><br />\n>>>> J\'obtiens bien une authentification sur mon idp de test et arrive sur<br />\n>>>> l\'interface du workflow (1.6.3) avec le message \"Merci de vous<br />\n>>>> authentifier<br />\n>>>> ...\"<br />\n>>>> Je n\'ai bien sûr pas de choix d\'authentification CAS/LDAP que je<br />\n>>>> n\'ai pas<br />\n>>>> activées.<br />\n>>>> Je reste donc bloqué à ce niveau ....<br />\n>>>><br />\n>>>> Pour mon test, j\'ai configuré l\'admin ainsi :<br />\n>>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"7a25ae0ffe829bf1f42927476b85cba2\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'7a25ae0ffe829bf1f42927476b85cba2\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>>>><br />\n>>>><br />\n>>>> et le workflow dc_very_easy avec mon email<br />\n>>>> # Groupe des auteurs de ressources documentaires<br />\n>>>> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)<br />\n>>>> # Groupe des administrateurs<br />\n>>>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"47b43f56b013ea834d235005b15cad25\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'47b43f56b013ea834d235005b15cad25\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>>>><br />\n>>>><br />\n>>>> Le fichier<br />\n>>>> conf/properties/spring/acegi/acegi-authentication-shib.xml reste<br />\n>>>> inchangé :<br />\n>>>><br />\n>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n>>>> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n>>>> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n>>>><br />\n>>>><br />\n>>>> <beans><br />\n>>>><br />\n>>>> <bean name=\"shibAuthenticator\"<br />\n>>>> class=\"org.orioai.workflow.services.application.shib.ShibAuthenticator\"><br />\n>>>><br />\n>>>><br />\n<property name=\"remoteUserShibAttr\"<br />\n>>>> value=\"Shib-InetOrgPerson-mail\"/><br />\n>>>><br />\n<property name=\"oriGroupConfigs\" ref=\"oriGroupConfigs\"/>\n>>>> </bean><br />\n>>>><br />\n>>>> </beans><br />\n>>>><br />\n>>>> Ainsi que le fichier groups.xml du workflow very easy :<br />\n>>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n>>>> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n>>>> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n>>>><br />\n>>>><br />\n>>>> <beans><br />\n>>>> </p>\n<!--+\n>>>> | WARNING ! The below \'name\' attribute for the bean of class\n>>>> OriGroupConfig\n>>>> | MUST have a different value in each pluggable configuration\n>>>> (default_ao_complex, default_dc_easy, etc...)\n>>>> +--><!--+\n>>>> | WARNING ! The below \'name\' attribute for the bean of class\n>>>> OriGroupConfig\n>>>> | MUST have a different value in each pluggable configuration\n>>>> (default_ao_complex, default_dc_easy, etc...)\n>>>> +--><p>>>>> <bean name=\"oriGroupConfigGeneral_DCVE\"<br />\n>>>> class=\"org.orioai.workflow.services.acls.OriGroupConfig\"><br />\n>>>><br />\n>>>><br />\n<property name=\"groupsMap\">\n>>>> <description><br />\n>>>> groupsMap defines a Map where<br />\n>>>> * keys are groups names<br />\n>>>> * values are ldap, virtual or<br />\n>>>> shibboleth groups used<br />\n>>>> </description><br />\n>>>> <map><br />\n>>>> <entry key=\"DCVE_all\"><br />\n>>>><br />\n>>>> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ALL]]]></value><br />\n>>>> </entry><br />\n>>>> <entry key=\"DCVE_admins\"><br />\n>>>><br />\n>>>> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ADMINS]]]></value><br />\n>>>> </entry><br />\n>>>> </map><br />\n>>>> </property>\n>>>><br />\n>>>> </bean><br />\n>>>><br />\n>>>><br />\n>>>> </beans><br />\n>>>><br />\n>>>> Merci pour votre aide.<br />\n>>>> P. Delage</p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>><br />\n>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>><br />\n></div>\n</blockquote>\n<p>--<br />\nPatrick Delage<br />\nResponsable Pôle Services Web - ENT<br />\nDSI Université du Maine<br />\nAv. Olivier MESSIAEN - 72085 LE MANS CEDEX 9<br />\nTél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01</p>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:71981c6db8b903d490a318ac8f5f8a52' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:26e65ddf46b68c2c6665cba6a7ff471f' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Problème résolu.<br />\nMon fichier attribute-maps.xml de mon SP fournit \"mail\" comme adresse mail.<br />\nJ\'ai donc corriger<br />\nWORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"mail\").equals(\"<span id=\"5a8a537df0e426625be005558b0e1aff\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'5a8a537df0e426625be005558b0e1aff\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\") </p>\n<p>et le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml</p>\n<property name=\"remoteUserShibAttr\" value=\"mail\"/>\n<p>Et j\'obtiens bien l\'interface du workflow attendue.<br />\nMerci<br />\nPatrick</p>\n<p>Le 07/03/2011 10:57, Patrick Delage a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour Alain,<br />\n> Merci pour cette réponse qui me donne une piste de recherche de<br />\n> solution. Mon shibenv.php me donne mail et non Shib-InetOrgPerson-mail<br />\n> !Cela vient certainement du mapping des attributs de mon SP.<br />\n> Donc, ta réponse m\'a servi ;-)<br />\n> De plus, je sais maintenant ce que je dois obtenir :<br />\n> \"workflow avec un menu très réduit (Tableau de bord avec aucun accès -<br />\n> Mon profil avec simplement un nom d\'utilisateur- Quitter)\"<br />\n> Je vais donc voir du coté de mon SP.<br />\n> Merci encore.<br />\n> Patrick<br />\n><br />\n> Le 07/03/2011 10:33, Alain Le Drezen a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Bonjour,<br />\n>><br />\n>><br />\n>> Cette réponse ne sera sans doute pas d\'une grande utilité mais bon ...<br />\n>><br />\n>> En lorraine nous utilisons aussi ORI avec Shibboleth.<br />\n>><br />\n>> Nous avons quasiment la même conf si ce n\'est que nous utilisons<br />\n>> l\'\"eppn\" à la place de \"Shib-InetOrgPerson-mail\".<br />\n>> Mais si shibenv.php te retourne bien \"Shib-InetOrgPerson-mail\" ça ne<br />\n>> devrait rien changer (mais j\'essaierai bien avec l\'eppn pour voir).<br />\n>><br />\n>> Soit pour nous :<br />\n>><br />\n>> pour le groupe admin<br />\n>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"eppn\").equals(\"<span id=\"f8cf920e5bca8ea0f19269ad2eaa9b9c\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'f8cf920e5bca8ea0f19269ad2eaa9b9c\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\'+\'\">\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>><br />\n>><br />\n>><br />\n>> et aussi pour acegi-authentication-shib.xml<br />\n>><br />\n<property name=\"remoteUserShibAttr\" value=\"eppn\"/>\n>><br />\n>><br />\n>> Je ne pense pas que le problème vienne de la configuration des<br />\n>> groupes ou des autorisations du workflow car même sans aucun droit tu<br />\n>> devrais avoir accès au workflow avec un menu très réduit (Tableau de<br />\n>> bord avec aucun accès - Mon profil avec simplement un nom<br />\n>> d\'utilisateur- Quitter).<br />\n>><br />\n>><br />\n>> Alain<br />\n>><br />\n>><br />\n>><br />\n>><br />\n>><br />\n>><br />\n>> Le 07/03/2011 09:36, <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\">&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;</a> a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>> Dans le cadre d\'un projet de l\'UNR Pays de la Loire, je veux<br />\n>>> configurer un<br />\n>>> workflow ORI-OAI avec authentification sur la fédération d\'identité<br />\n>>> RENATER.<br />\n>>> Le SP est bien configuré sur le serveur pour récupérer l\'adresse mail<br />\n>>> fournie mon idp de test. (verification faite avec shibenv.php)<br />\n>>><br />\n>>> J\'ai configuré le workflow en fonction des infos disponibles sur le<br />\n>>> wiki<br />\n>>> ORI-OAI.<br />\n>>> ainsi que tous les autres modules (dernières versions sur le SVN)<br />\n>>><br />\n>>> J\'obtiens bien une authentification sur mon idp de test et arrive sur<br />\n>>> l\'interface du workflow (1.6.3) avec le message \"Merci de vous<br />\n>>> authentifier<br />\n>>> ...\"<br />\n>>> Je n\'ai bien sûr pas de choix d\'authentification CAS/LDAP que je<br />\n>>> n\'ai pas<br />\n>>> activées.<br />\n>>> Je reste donc bloqué à ce niveau ....<br />\n>>><br />\n>>> Pour mon test, j\'ai configuré l\'admin ainsi :<br />\n>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"ed61cd1fa88cd28e1d432f4002c5b7eb\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'ed61cd1fa88cd28e1d432f4002c5b7eb\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>>><br />\n>>><br />\n>>> et le workflow dc_very_easy avec mon email<br />\n>>> # Groupe des auteurs de ressources documentaires<br />\n>>> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)<br />\n>>> # Groupe des administrateurs<br />\n>>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"97852db904fa973f82c930dc1d2a3dc9\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'97852db904fa973f82c930dc1d2a3dc9\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>>><br />\n>>><br />\n>>> Le fichier<br />\n>>> conf/properties/spring/acegi/acegi-authentication-shib.xml reste<br />\n>>> inchangé :<br />\n>>><br />\n>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n>>> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n>>> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n>>><br />\n>>><br />\n>>> <beans><br />\n>>><br />\n>>> <bean name=\"shibAuthenticator\"<br />\n>>> class=\"org.orioai.workflow.services.application.shib.ShibAuthenticator\"><br />\n>>><br />\n>>><br />\n<property name=\"remoteUserShibAttr\"<br />\n>>> value=\"Shib-InetOrgPerson-mail\"/><br />\n>>><br />\n<property name=\"oriGroupConfigs\" ref=\"oriGroupConfigs\"/>\n>>> </bean><br />\n>>><br />\n>>> </beans><br />\n>>><br />\n>>> Ainsi que le fichier groups.xml du workflow very easy :<br />\n>>> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n>>> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n>>> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n>>><br />\n>>><br />\n>>> <beans><br />\n>>> </p>\n<!--+\n>>> | WARNING ! The below \'name\' attribute for the bean of class\n>>> OriGroupConfig\n>>> | MUST have a different value in each pluggable configuration\n>>> (default_ao_complex, default_dc_easy, etc...)\n>>> +--><!--+\n>>> | WARNING ! The below \'name\' attribute for the bean of class\n>>> OriGroupConfig\n>>> | MUST have a different value in each pluggable configuration\n>>> (default_ao_complex, default_dc_easy, etc...)\n>>> +--><p>>>> <bean name=\"oriGroupConfigGeneral_DCVE\"<br />\n>>> class=\"org.orioai.workflow.services.acls.OriGroupConfig\"><br />\n>>><br />\n>>><br />\n<property name=\"groupsMap\">\n>>> <description><br />\n>>> groupsMap defines a Map where<br />\n>>> * keys are groups names<br />\n>>> * values are ldap, virtual or<br />\n>>> shibboleth groups used<br />\n>>> </description><br />\n>>> <map><br />\n>>> <entry key=\"DCVE_all\"><br />\n>>><br />\n>>> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ALL]]]></value><br />\n>>> </entry><br />\n>>> <entry key=\"DCVE_admins\"><br />\n>>><br />\n>>> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ADMINS]]]></value><br />\n>>> </entry><br />\n>>> </map><br />\n>>> </property>\n>>><br />\n>>> </bean><br />\n>>><br />\n>>><br />\n>>> </beans><br />\n>>><br />\n>>> Merci pour votre aide.<br />\n>>> P. Delage</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>><br />\n></div>\n</blockquote>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:26e65ddf46b68c2c6665cba6a7ff471f' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:14f605fba36582e54460ff4ae28ccfd3' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour Alain,<br />\nMerci pour cette réponse qui me donne une piste de recherche de<br />\nsolution. Mon shibenv.php me donne mail et non Shib-InetOrgPerson-mail<br />\n!Cela vient certainement du mapping des attributs de mon SP.<br />\nDonc, ta réponse m\'a servi ;-)<br />\nDe plus, je sais maintenant ce que je dois obtenir :<br />\n\"workflow avec un menu très réduit (Tableau de bord avec aucun accès -<br />\nMon profil avec simplement un nom d\'utilisateur- Quitter)\"<br />\nJe vais donc voir du coté de mon SP.<br />\nMerci encore.<br />\nPatrick</p>\n<p>Le 07/03/2011 10:33, Alain Le Drezen a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour,<br />\n><br />\n><br />\n> Cette réponse ne sera sans doute pas d\'une grande utilité mais bon ...<br />\n><br />\n> En lorraine nous utilisons aussi ORI avec Shibboleth.<br />\n><br />\n> Nous avons quasiment la même conf si ce n\'est que nous utilisons<br />\n> l\'\"eppn\" à la place de \"Shib-InetOrgPerson-mail\".<br />\n> Mais si shibenv.php te retourne bien \"Shib-InetOrgPerson-mail\" ça ne<br />\n> devrait rien changer (mais j\'essaierai bien avec l\'eppn pour voir).<br />\n><br />\n> Soit pour nous :<br />\n><br />\n> pour le groupe admin<br />\n> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"eppn\").equals(\"<span id=\"ef4d4f9b024e624ff8b9944927216274\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'ef4d4f9b024e624ff8b9944927216274\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\'+\'\">\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n><br />\n><br />\n><br />\n> et aussi pour acegi-authentication-shib.xml<br />\n><br />\n<property name=\"remoteUserShibAttr\" value=\"eppn\"/>\n><br />\n><br />\n> Je ne pense pas que le problème vienne de la configuration des groupes<br />\n> ou des autorisations du workflow car même sans aucun droit tu devrais<br />\n> avoir accès au workflow avec un menu très réduit (Tableau de bord avec<br />\n> aucun accès - Mon profil avec simplement un nom d\'utilisateur- Quitter).<br />\n><br />\n><br />\n> Alain<br />\n><br />\n><br />\n><br />\n><br />\n><br />\n><br />\n> Le 07/03/2011 09:36, <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\">&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;</a> a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Dans le cadre d\'un projet de l\'UNR Pays de la Loire, je veux<br />\n>> configurer un<br />\n>> workflow ORI-OAI avec authentification sur la fédération d\'identité<br />\n>> RENATER.<br />\n>> Le SP est bien configuré sur le serveur pour récupérer l\'adresse mail<br />\n>> fournie mon idp de test. (verification faite avec shibenv.php)<br />\n>><br />\n>> J\'ai configuré le workflow en fonction des infos disponibles sur le wiki<br />\n>> ORI-OAI.<br />\n>> ainsi que tous les autres modules (dernières versions sur le SVN)<br />\n>><br />\n>> J\'obtiens bien une authentification sur mon idp de test et arrive sur<br />\n>> l\'interface du workflow (1.6.3) avec le message \"Merci de vous<br />\n>> authentifier<br />\n>> ...\"<br />\n>> Je n\'ai bien sûr pas de choix d\'authentification CAS/LDAP que je n\'ai<br />\n>> pas<br />\n>> activées.<br />\n>> Je reste donc bloqué à ce niveau ....<br />\n>><br />\n>> Pour mon test, j\'ai configuré l\'admin ainsi :<br />\n>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"6149d67ce2f003111877baeac6c534c5\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'6149d67ce2f003111877baeac6c534c5\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>><br />\n>><br />\n>> et le workflow dc_very_easy avec mon email<br />\n>> # Groupe des auteurs de ressources documentaires<br />\n>> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)<br />\n>> # Groupe des administrateurs<br />\n>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"fad2dc62ac7d1948b496288e05f8e955\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'fad2dc62ac7d1948b496288e05f8e955\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n>><br />\n>><br />\n>> Le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml<br />\n>> reste<br />\n>> inchangé :<br />\n>><br />\n>> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n>> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n>> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n>><br />\n>><br />\n>> <beans><br />\n>><br />\n>> <bean name=\"shibAuthenticator\"<br />\n>> class=\"org.orioai.workflow.services.application.shib.ShibAuthenticator\"><br />\n>><br />\n<property name=\"remoteUserShibAttr\"<br />\n>> value=\"Shib-InetOrgPerson-mail\"/><br />\n>><br />\n<property name=\"oriGroupConfigs\" ref=\"oriGroupConfigs\"/>\n>> </bean><br />\n>><br />\n>> </beans><br />\n>><br />\n>> Ainsi que le fichier groups.xml du workflow very easy :<br />\n>> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n>> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n>> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n>><br />\n>><br />\n>> <beans><br />\n>> </p>\n<!--+\n>> | WARNING ! The below \'name\' attribute for the bean of class\n>> OriGroupConfig\n>> | MUST have a different value in each pluggable configuration\n>> (default_ao_complex, default_dc_easy, etc...)\n>> +--><!--+\n>> | WARNING ! The below \'name\' attribute for the bean of class\n>> OriGroupConfig\n>> | MUST have a different value in each pluggable configuration\n>> (default_ao_complex, default_dc_easy, etc...)\n>> +--><p>>> <bean name=\"oriGroupConfigGeneral_DCVE\"<br />\n>> class=\"org.orioai.workflow.services.acls.OriGroupConfig\"><br />\n>><br />\n>><br />\n<property name=\"groupsMap\">\n>> <description><br />\n>> groupsMap defines a Map where<br />\n>> * keys are groups names<br />\n>> * values are ldap, virtual or<br />\n>> shibboleth groups used<br />\n>> </description><br />\n>> <map><br />\n>> <entry key=\"DCVE_all\"><br />\n>><br />\n>> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ALL]]]></value><br />\n>> </entry><br />\n>> <entry key=\"DCVE_admins\"><br />\n>><br />\n>> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ADMINS]]]></value><br />\n>> </entry><br />\n>> </map><br />\n>> </property>\n>><br />\n>> </bean><br />\n>><br />\n>><br />\n>> </beans><br />\n>><br />\n>> Merci pour votre aide.<br />\n>> P. Delage</p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>></div>\n</blockquote>\n<p>--<br />\nPatrick Delage<br />\nResponsable Pôle Services Web - ENT<br />\nDSI Université du Maine<br />\nAv. Olivier MESSIAEN - 72085 LE MANS CEDEX 9<br />\nTél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01</p>\n</div>\n', created = 1507748338, expire = 1507834738, headers = '', serialized = 0 WHERE cid = '4:14f605fba36582e54460ff4ae28ccfd3' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:39d3601f9fc31672a0c55f746187fd2e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>Cette réponse ne sera sans doute pas d\'une grande utilité mais bon ...</p>\n<p>En lorraine nous utilisons aussi ORI avec Shibboleth.</p>\n<p>Nous avons quasiment la même conf si ce n\'est que nous utilisons<br />\nl\'\"eppn\" à la place de \"Shib-InetOrgPerson-mail\".<br />\nMais si shibenv.php te retourne bien \"Shib-InetOrgPerson-mail\" ça ne<br />\ndevrait rien changer (mais j\'essaierai bien avec l\'eppn pour voir).</p>\n<p>Soit pour nous :</p>\n<p>pour le groupe admin<br />\nWORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"eppn\").equals(\"<span id=\"92dbea10b0d4cd39a53ed96ed29e7478\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'92dbea10b0d4cd39a53ed96ed29e7478\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\'+\'\">\'+\'&#116;&#101;&#115;&#116;&#120;&#120;&#120;&#64;&#117;&#110;&#105;&#118;&#45;&#110;&#97;&#110;&#99;&#121;&#50;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")</p>\n<p>et aussi pour acegi-authentication-shib.xml</p>\n<property name=\"remoteUserShibAttr\" value=\"eppn\"/>\n<p>Je ne pense pas que le problème vienne de la configuration des groupes<br />\nou des autorisations du workflow car même sans aucun droit tu devrais<br />\navoir accès au workflow avec un menu très réduit (Tableau de bord avec<br />\naucun accès - Mon profil avec simplement un nom d\'utilisateur- Quitter).</p>\n<p>Alain</p>\n<p>Le 07/03/2011 09:36, <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\">&#112;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#100;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;</a> a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Dans le cadre d\'un projet de l\'UNR Pays de la Loire, je veux configurer un<br />\n> workflow ORI-OAI avec authentification sur la fédération d\'identité RENATER.<br />\n> Le SP est bien configuré sur le serveur pour récupérer l\'adresse mail<br />\n> fournie mon idp de test. (verification faite avec shibenv.php)<br />\n><br />\n> J\'ai configuré le workflow en fonction des infos disponibles sur le wiki<br />\n> ORI-OAI.<br />\n> ainsi que tous les autres modules (dernières versions sur le SVN)<br />\n><br />\n> J\'obtiens bien une authentification sur mon idp de test et arrive sur<br />\n> l\'interface du workflow (1.6.3) avec le message \"Merci de vous authentifier<br />\n> ...\"<br />\n> Je n\'ai bien sûr pas de choix d\'authentification CAS/LDAP que je n\'ai pas<br />\n> activées.<br />\n> Je reste donc bloqué à ce niveau ....<br />\n><br />\n> Pour mon test, j\'ai configuré l\'admin ainsi :<br />\n> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"015bb54506f9818bd1dedb62ce51e20b\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'015bb54506f9818bd1dedb62ce51e20b\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n><br />\n> et le workflow dc_very_easy avec mon email<br />\n> # Groupe des auteurs de ressources documentaires<br />\n> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)<br />\n> # Groupe des administrateurs<br />\n> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"60df06b9b0d079817dd598d3f2300a3a\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'60df06b9b0d079817dd598d3f2300a3a\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")<br />\n><br />\n> Le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml reste<br />\n> inchangé :<br />\n><br />\n> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n><br />\n><br />\n> <beans><br />\n><br />\n> <bean name=\"shibAuthenticator\"<br />\n> class=\"org.orioai.workflow.services.application.shib.ShibAuthenticator\"><br />\n><br />\n<property name=\"remoteUserShibAttr\"<br />\n> value=\"Shib-InetOrgPerson-mail\"/><br />\n><br />\n<property name=\"oriGroupConfigs\" ref=\"oriGroupConfigs\"/>\n> </bean><br />\n><br />\n> </beans><br />\n><br />\n> Ainsi que le fichier groups.xml du workflow very easy :<br />\n> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n> <!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n> \"http://www.springframework.org/dtd/spring-beans.dtd\"><br />\n><br />\n><br />\n> <beans><br />\n> </p>\n<!--+\n> | WARNING ! The below \'name\' attribute for the bean of class\n> OriGroupConfig\n> | MUST have a different value in each pluggable configuration\n> (default_ao_complex, default_dc_easy, etc...)\n> +--><!--+\n> | WARNING ! The below \'name\' attribute for the bean of class\n> OriGroupConfig\n> | MUST have a different value in each pluggable configuration\n> (default_ao_complex, default_dc_easy, etc...)\n> +--><p>> <bean name=\"oriGroupConfigGeneral_DCVE\"<br />\n> class=\"org.orioai.workflow.services.acls.OriGroupConfig\"><br />\n><br />\n><br />\n<property name=\"groupsMap\">\n> <description><br />\n> groupsMap defines a Map where<br />\n> * keys are groups names<br />\n> * values are ldap, virtual or<br />\n> shibboleth groups used<br />\n> </description><br />\n> <map><br />\n> <entry key=\"DCVE_all\"><br />\n><br />\n> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ALL]]]></value><br />\n> </entry><br />\n> <entry key=\"DCVE_admins\"><br />\n><br />\n> <value><![CDATA[[WORKFLOW_DC-VE_GROUP_ADMINS]]]></value><br />\n> </entry><br />\n> </map><br />\n> </property>\n><br />\n> </bean><br />\n><br />\n><br />\n> </beans><br />\n><br />\n> Merci pour votre aide.<br />\n> P. Delage</div>\n</blockquote>\n</div>\n', created = 1507748339, expire = 1507834739, headers = '', serialized = 0 WHERE cid = '4:39d3601f9fc31672a0c55f746187fd2e' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:7ffd88e73cd90bfd0f42b7bcb90467dd' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Dans le cadre d\'un projet de l\'UNR Pays de la Loire, je veux configurer un<br />\nworkflow ORI-OAI avec authentification sur la fédération d\'identité RENATER.<br />\nLe SP est bien configuré sur le serveur pour récupérer l\'adresse mail<br />\nfournie mon idp de test. (verification faite avec shibenv.php)</p>\n<p>J\'ai configuré le workflow en fonction des infos disponibles sur le wiki<br />\nORI-OAI.<br />\nainsi que tous les autres modules (dernières versions sur le SVN)</p>\n<p>J\'obtiens bien une authentification sur mon idp de test et arrive sur<br />\nl\'interface du workflow (1.6.3) avec le message \"Merci de vous authentifier<br />\n...\"<br />\nJe n\'ai bien sûr pas de choix d\'authentification CAS/LDAP que je n\'ai pas<br />\nactivées.<br />\nJe reste donc bloqué à ce niveau ....</p>\n<p>Pour mon test, j\'ai configuré l\'admin ainsi :<br />\nWORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"fdc6505de9b9dacdaf12f5e1a9835bc9\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'fdc6505de9b9dacdaf12f5e1a9835bc9\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")</p>\n<p>et le workflow dc_very_easy avec mon email<br />\n# Groupe des auteurs de ressources documentaires<br />\nWORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)<br />\n# Groupe des administrateurs<br />\nWORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get(\"Shib-InetOrgPerson-mail\").equals(\"<span id=\"f109afcc0ac2e1fd991ac2a3f4f27372\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'f109afcc0ac2e1fd991ac2a3f4f27372\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#80;&#97;&#116;&#114;&#105;&#99;&#107;&#46;&#68;&#101;&#108;&#97;&#103;&#101;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#101;&#109;&#97;&#110;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\")</p>\n<p>Le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml reste<br />\ninchangé :</p>\n<p><?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n<!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n\"http://www.springframework.org/dtd/spring-beans.dtd\"></p>\n<p><beans></p>\n<p> <bean name=\"shibAuthenticator\"<br />\nclass=\"org.orioai.workflow.services.application.shib.ShibAuthenticator\"></p>\n<property name=\"remoteUserShibAttr\"<br />\nvalue=\"Shib-InetOrgPerson-mail\"/><br />\n<property name=\"oriGroupConfigs\" ref=\"oriGroupConfigs\"/>\n </bean></p>\n<p></beans></p>\n<p>Ainsi que le fichier groups.xml du workflow very easy :<br />\n<?xml version=\"1.0\" encoding=\"UTF-8\"?><br />\n<!DOCTYPE beans PUBLIC \"-//SPRING//DTD BEAN//EN\"<br />\n\"http://www.springframework.org/dtd/spring-beans.dtd\"></p>\n<p><beans></p>\n<!--+\n | WARNING ! The below \'name\' attribute for the bean of class\nOriGroupConfig\n | MUST have a different value in each pluggable configuration\n(default_ao_complex, default_dc_easy, etc...)\n +--><!--+\n | WARNING ! The below \'name\' attribute for the bean of class\nOriGroupConfig\n | MUST have a different value in each pluggable configuration\n(default_ao_complex, default_dc_easy, etc...)\n +--><p> <bean name=\"oriGroupConfigGeneral_DCVE\"<br />\nclass=\"org.orioai.workflow.services.acls.OriGroupConfig\"></p>\n<property name=\"groupsMap\">\n <description><br />\n groupsMap defines a Map where<br />\n * keys are groups names<br />\n * values are ldap, virtual or<br />\nshibboleth groups used<br />\n </description><br />\n <map><br />\n <entry key=\"DCVE_all\"></p>\n<p><value><![CDATA[[WORKFLOW_DC-VE_GROUP_ALL]]]></value><br />\n </entry><br />\n <entry key=\"DCVE_admins\"></p>\n<p><value><![CDATA[[WORKFLOW_DC-VE_GROUP_ADMINS]]]></value><br />\n </entry><br />\n </map><br />\n </property>\n<p> </bean></p>\n<p></beans></p>\n<p>Merci pour votre aide.<br />\nP. Delage\n</div>\n', created = 1507748339, expire = 1507834739, headers = '', serialized = 0 WHERE cid = '4:7ffd88e73cd90bfd0f42b7bcb90467dd' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
13 messages / 0 nouveaux
Dernière contribution
vincentbonamy129605
Workflow ORI-OAI avec authentification shibboleth
Bonjour Patrick,
Je vais laisser les autres membres de la liste répondre au mieux,
n'étant plus très au fait de la chose.
Mais as-tu vérifier en premier lieu que ta base de données était bien en
innodb (et non myisam) si tu utilises mysql ?
(pour infos les debug ici correspondent à un fonctionnement normal de
l'application)
Bon courage,
Vincent.

On 10/03/2011 15:06, Patrick Delage wrote:

> Bonjour Vincent,
> Je viens de test avec succès shib:true
> Ce qui offre également une possibilité d'ouverture.
>
> Par contre la méthode matches ramène une erreur
>
> 74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java
> expression evaluation with janino when construct shib groups
> org.codehaus.janino.CompileException: Line 1, Column 33: A method
> named "matches" is not declared in any enclosing class nor any
> supertype, nor through a static import
>
> Ensuite, j'en profite pour régler le pb suivant :
> J'essaie de créer une ressource documentaire dc_easy, qui me donne
> l'erreur suivante puis une sqlexception
>
> 191464 DEBUG services.OsWorkflowService oriCanInitialize[174] - Test
> if we can initialize the workflow instance: dc_easy
> 191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -
> authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:
> Username:
> org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8;
> Password: [PROTECTED]; Authenticated: true; Details:
> org.acegisecurity.ui.WebAuthenticationDetails@fffe9938:
> RemoteIpAddress: 172.16.7.62; SessionId:
> C1529103B18E085342B36406AB9F3C6A; Granted Authorities: DCE_moderators,
> DCE_all, DCE_admins, admins, UME_admins
> 191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -
> oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99
> 191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61] -
> This Osworkflow Factory can't get the workflow dc_easy, application is
> going to try with the next retrieved osworkflow factory
>
> uncategorized SQLException for SQL [insert into ORI_WORKFLOW_INSTANCE
> (workflowId, lockId, existId, xmlContent, title, metadataTypeId,
> isTemplate, modifiedDate, creatorUserProfilId, entryId, entryIdx,
> INSTANCE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];
>
> Merci pour ton aide.
> Cordialement,
>
>

vincentbonamy868835
Bonjour Patrick,
Je vais laisser les autres membres de la liste répondre au mieux,
n'étant plus très au fait de la chose.
Mais as-tu vérifier en premier lieu que ta base de données était bien en
innodb (et non myisam) si tu utilises mysql ?
(pour infos les debug ici correspondent à un fonctionnement normal de
l'application)
Bon courage,
Vincent.

On 10/03/2011 15:06, Patrick Delage wrote:

> Bonjour Vincent,
> Je viens de test avec succès shib:true
> Ce qui offre également une possibilité d'ouverture.
>
> Par contre la méthode matches ramène une erreur
>
> 74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java
> expression evaluation with janino when construct shib groups
> org.codehaus.janino.CompileException: Line 1, Column 33: A method
> named "matches" is not declared in any enclosing class nor any
> supertype, nor through a static import
>
> Ensuite, j'en profite pour régler le pb suivant :
> J'essaie de créer une ressource documentaire dc_easy, qui me donne
> l'erreur suivante puis une sqlexception
>
> 191464 DEBUG services.OsWorkflowService oriCanInitialize[174] - Test
> if we can initialize the workflow instance: dc_easy
> 191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -
> authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:
> Username:
> org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8;
> Password: [PROTECTED]; Authenticated: true; Details:
> org.acegisecurity.ui.WebAuthenticationDetails@fffe9938:
> RemoteIpAddress: 172.16.7.62; SessionId:
> C1529103B18E085342B36406AB9F3C6A; Granted Authorities: DCE_moderators,
> DCE_all, DCE_admins, admins, UME_admins
> 191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -
> oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99
> 191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61] -
> This Osworkflow Factory can't get the workflow dc_easy, application is
> going to try with the next retrieved osworkflow factory
>
> uncategorized SQLException for SQL [insert into ORI_WORKFLOW_INSTANCE
> (workflowId, lockId, existId, xmlContent, title, metadataTypeId,
> isTemplate, modifiedDate, creatorUserProfilId, entryId, entryIdx,
> INSTANCE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];
>
> Merci pour ton aide.
> Cordialement,
>
>

patrickdelagecri
Bonjour,
Problème résolu.
J'ai réinstallé mysql-server 5.1 avec innodb comme engine par défaut,
puis recréer la bas orioaiworkflow.

--
Patrick Delage
Responsable Pôle Services Web - ENT
DSI Université du Maine
Av. Olivier MESSIAEN - 72085 LE MANS CEDEX 9
Tél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01

Le 10/03/2011 16:05, Patrick Delage a écrit :

> Merci Vincent,
> La base mysql est bien en innodb.
> Je continue de chercher de mon côté.
> Patrick
>
> Le 10/03/2011 15:21, Vincent Bonamy a écrit :

>> Bonjour Patrick,
>> Je vais laisser les autres membres de la liste répondre au mieux,
>> n'étant plus très au fait de la chose.
>> Mais as-tu vérifier en premier lieu que ta base de données était bien
>> en innodb (et non myisam) si tu utilises mysql ?
>> (pour infos les debug ici correspondent à un fonctionnement normal de
>> l'application)
>> Bon courage,
>> Vincent.
>>
>>
>>
>> On 10/03/2011 15:06, Patrick Delage wrote:

>>> Bonjour Vincent,
>>> Je viens de test avec succès shib:true
>>> Ce qui offre également une possibilité d'ouverture.
>>>
>>> Par contre la méthode matches ramène une erreur
>>>
>>> 74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java
>>> expression evaluation with janino when construct shib groups
>>> org.codehaus.janino.CompileException: Line 1, Column 33: A method
>>> named "matches" is not declared in any enclosing class nor any
>>> supertype, nor through a static import
>>>
>>> Ensuite, j'en profite pour régler le pb suivant :
>>> J'essaie de créer une ressource documentaire dc_easy, qui me donne
>>> l'erreur suivante puis une sqlexception
>>>
>>> 191464 DEBUG services.OsWorkflowService oriCanInitialize[174] -
>>> Test if we can initialize the workflow instance: dc_easy
>>> 191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -
>>> authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:
>>> Username:
>>> org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8;
>>> Password: [PROTECTED]; Authenticated: true; Details:
>>> org.acegisecurity.ui.WebAuthenticationDetails@fffe9938:
>>> RemoteIpAddress: 172.16.7.62; SessionId:
>>> C1529103B18E085342B36406AB9F3C6A; Granted Authorities:
>>> DCE_moderators, DCE_all, DCE_admins, admins, UME_admins
>>> 191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -
>>> oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99
>>> 191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61]
>>> - This Osworkflow Factory can't get the workflow dc_easy,
>>> application is going to try with the next retrieved osworkflow factory
>>>
>>> uncategorized SQLException for SQL [insert into
>>> ORI_WORKFLOW_INSTANCE (workflowId, lockId, existId, xmlContent,
>>> title, metadataTypeId, isTemplate, modifiedDate,
>>> creatorUserProfilId, entryId, entryIdx, INSTANCE_ID) values (?, ?,
>>> ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];
>>>
>>> Merci pour ton aide.
>>> Cordialement,
>>>
>>>

>>

>

patrickdelagecri
Merci Vincent,
La base mysql est bien en innodb.
Je continue de chercher de mon côté.
Patrick

Le 10/03/2011 15:21, Vincent Bonamy a écrit :

> Bonjour Patrick,
> Je vais laisser les autres membres de la liste répondre au mieux,
> n'étant plus très au fait de la chose.
> Mais as-tu vérifier en premier lieu que ta base de données était bien
> en innodb (et non myisam) si tu utilises mysql ?
> (pour infos les debug ici correspondent à un fonctionnement normal de
> l'application)
> Bon courage,
> Vincent.
>
>
>
> On 10/03/2011 15:06, Patrick Delage wrote:

>> Bonjour Vincent,
>> Je viens de test avec succès shib:true
>> Ce qui offre également une possibilité d'ouverture.
>>
>> Par contre la méthode matches ramène une erreur
>>
>> 74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java
>> expression evaluation with janino when construct shib groups
>> org.codehaus.janino.CompileException: Line 1, Column 33: A method
>> named "matches" is not declared in any enclosing class nor any
>> supertype, nor through a static import
>>
>> Ensuite, j'en profite pour régler le pb suivant :
>> J'essaie de créer une ressource documentaire dc_easy, qui me donne
>> l'erreur suivante puis une sqlexception
>>
>> 191464 DEBUG services.OsWorkflowService oriCanInitialize[174] - Test
>> if we can initialize the workflow instance: dc_easy
>> 191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -
>> authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:
>> Username:
>> org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8; Password:
>> [PROTECTED]; Authenticated: true; Details:
>> org.acegisecurity.ui.WebAuthenticationDetails@fffe9938:
>> RemoteIpAddress: 172.16.7.62; SessionId:
>> C1529103B18E085342B36406AB9F3C6A; Granted Authorities:
>> DCE_moderators, DCE_all, DCE_admins, admins, UME_admins
>> 191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -
>> oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99
>> 191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61]
>> - This Osworkflow Factory can't get the workflow dc_easy, application
>> is going to try with the next retrieved osworkflow factory
>>
>> uncategorized SQLException for SQL [insert into ORI_WORKFLOW_INSTANCE
>> (workflowId, lockId, existId, xmlContent, title, metadataTypeId,
>> isTemplate, modifiedDate, creatorUserProfilId, entryId, entryIdx,
>> INSTANCE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];
>>
>> Merci pour ton aide.
>> Cordialement,
>>
>>

>

patrickdelagecri
Bonjour Vincent,
Je viens de test avec succès shib:true
Ce qui offre également une possibilité d'ouverture.

Par contre la méthode matches ramène une erreur

74602 WARN shib.ShibAuthenticator getCurrentUser[115] - pb of java
expression evaluation with janino when construct shib groups
org.codehaus.janino.CompileException: Line 1, Column 33: A method named
"matches" is not declared in any enclosing class nor any supertype, nor
through a static import

Ensuite, j'en profite pour régler le pb suivant :
J'essaie de créer une ressource documentaire dc_easy, qui me donne
l'erreur suivante puis une sqlexception

191464 DEBUG services.OsWorkflowService oriCanInitialize[174] - Test if
we can initialize the workflow instance: dc_easy
191468 DEBUG services.OsWorkflowService oriCanInitialize[175] -
authentication:org.orioai.workflow.services.application.TrustedAuthenticationToken@93b2ab84:
Username:
org.orioai.workflow.services.application.shib.ShibUserDetails@1af1ad8;
Password: [PROTECTED]; Authenticated: true; Details:
org.acegisecurity.ui.WebAuthenticationDetails@fffe9938: RemoteIpAddress:
172.16.7.62; SessionId: C1529103B18E085342B36406AB9F3C6A; Granted
Authorities: DCE_moderators, DCE_all, DCE_admins, admins, UME_admins
191469 DEBUG services.OsWorkflowService oriCanInitialize[176] -
oriWorkflowInstance:org.orioai.workflow.beans.WorkflowInstance@7647ef99
191470 DEBUG services.OsWorkflowSpringConfiguration getWorkflow[61] -
This Osworkflow Factory can't get the workflow dc_easy, application is
going to try with the next retrieved osworkflow factory

uncategorized SQLException for SQL [insert into ORI_WORKFLOW_INSTANCE
(workflowId, lockId, existId, xmlContent, title, metadataTypeId,
isTemplate, modifiedDate, creatorUserProfilId, entryId, entryIdx,
INSTANCE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)];

Merci pour ton aide.
Cordialement,

--
Patrick Delage
Responsable Pôle Services Web - ENT
DSI Université du Maine
Av. Olivier MESSIAEN - 72085 LE MANS CEDEX 9
Tél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01

Le 10/03/2011 11:39, Vincent Bonamy a écrit :

> Bonjour,
> Je croyais que shib:true fonctionnait également simplement (mais je me
> trompe peut-être) ?
> Car en effet l'idée était au départ de donner une expression java
> après le shib: ...
> de même je pense qu'on doit pouvoir aussi utiliser la méthode matches
> (avec une regexp en argument) sur
> shibAttrsMap.get("unscoped-affiliation") par ex. [en lieu et place du
> equals], avez-vous essayé ?
> Notez que je n'ai rien testé de cela ...
> Aussi Merci de votre réponse.
> Cordialement,
> Vincent.
>
>
>
> On 10/03/2011 11:17, Patrick Delage wrote:

>> Bonjour,
>> Pour clore cette discussion, après échange avec Alain Ledrezen
>> (Université de Metz) que je remercie ici, la solution retenue est la
>> suivante.
>> Il n'est pas possible d'utiliser des fonctions avancées dans la
>> config du workflow. (type contains, regexp, ...)
>> Pour cibler une population, on peut utiliser d'autres attributs (ex.
>> unscoped-affiliation). Il faut alors que les règles d'usage, dans les
>> établissements de l'UNR, convergent .....
>> Voici par exemple comment ouvrir à tous les personnels de nos
>> établissements (tester sur 2 pour le moment) :
>>
>> dc_easy :
>> WORKFLOW_DC-E_GROUP_ALL=shib:shibAttrsMap.get("unscoped-affiliation").equals("employee")
>> || shibAttrsMap.get("unscoped-affiliation").equals("member") || .......
>> um_lom_easy :
>> WORKFLOW_UM-E_GROUP_ALL=shib:shibAttrsMap.get("unscoped-affiliation").equals("employee")
>> || shibAttrsMap.get("unscoped-affiliation").equals("member") || ....
>>

>

vincentbonamy868835
Bonjour,
Je croyais que shib:true fonctionnait également simplement (mais je me
trompe peut-être) ?
Car en effet l'idée était au départ de donner une expression java après
le shib: ...
de même je pense qu'on doit pouvoir aussi utiliser la méthode matches
(avec une regexp en argument) sur
shibAttrsMap.get("unscoped-affiliation") par ex. [en lieu et place du
equals], avez-vous essayé ?
Notez que je n'ai rien testé de cela ...
Aussi Merci de votre réponse.
Cordialement,
Vincent.

On 10/03/2011 11:17, Patrick Delage wrote:

> Bonjour,
> Pour clore cette discussion, après échange avec Alain Ledrezen
> (Université de Metz) que je remercie ici, la solution retenue est la
> suivante.
> Il n'est pas possible d'utiliser des fonctions avancées dans la config
> du workflow. (type contains, regexp, ...)
> Pour cibler une population, on peut utiliser d'autres attributs (ex.
> unscoped-affiliation). Il faut alors que les règles d'usage, dans les
> établissements de l'UNR, convergent .....
> Voici par exemple comment ouvrir à tous les personnels de nos
> établissements (tester sur 2 pour le moment) :
>
> dc_easy :
> WORKFLOW_DC-E_GROUP_ALL=shib:shibAttrsMap.get("unscoped-affiliation").equals("employee")
> || shibAttrsMap.get("unscoped-affiliation").equals("member") || .......
> um_lom_easy :
> WORKFLOW_UM-E_GROUP_ALL=shib:shibAttrsMap.get("unscoped-affiliation").equals("employee")
> || shibAttrsMap.get("unscoped-affiliation").equals("member") || ....
>

patrickdelagecri
Bonjour,
Pour clore cette discussion, après échange avec Alain Ledrezen
(Université de Metz) que je remercie ici, la solution retenue est la
suivante.
Il n'est pas possible d'utiliser des fonctions avancées dans la config
du workflow. (type contains, regexp, ...)
Pour cibler une population, on peut utiliser d'autres attributs (ex.
unscoped-affiliation). Il faut alors que les règles d'usage, dans les
établissements de l'UNR, convergent .....
Voici par exemple comment ouvrir à tous les personnels de nos
établissements (tester sur 2 pour le moment) :

dc_easy :
WORKFLOW_DC-E_GROUP_ALL=shib:shibAttrsMap.get("unscoped-affiliation").equals("employee")
|| shibAttrsMap.get("unscoped-affiliation").equals("member") || .......
um_lom_easy :
WORKFLOW_UM-E_GROUP_ALL=shib:shibAttrsMap.get("unscoped-affiliation").equals("employee")
|| shibAttrsMap.get("unscoped-affiliation").equals("member") || ....

--
Patrick Delage
Responsable Pôle Services Web - ENT
DSI Université du Maine
Av. Olivier MESSIAEN - 72085 LE MANS CEDEX 9
Tél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01

Le 07/03/2011 17:01, Patrick Delage a écrit :

> Demande d'information complémentaire :
>
> Comment définir par exemple WORKFLOW_DC-VE_GROUP_ALL pour autoriser
> tous les utilisateurs authentifiés vi shibboleth
> (@univ-lemans.fr, @univ-nantes.fr, @univ-angers.fr, ...)
>
> Merci
>
> Le 07/03/2011 11:35, Patrick Delage a écrit :

>> Problème résolu.
>> Mon fichier attribute-maps.xml de mon SP fournit "mail" comme
>> adresse mail.
>> J'ai donc corriger
>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("mail").equals(" ")
>>
>> et le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml
>>
>>
>> Et j'obtiens bien l'interface du workflow attendue.
>> Merci
>> Patrick
>>
>> Le 07/03/2011 10:57, Patrick Delage a écrit :

>>> Bonjour Alain,
>>> Merci pour cette réponse qui me donne une piste de recherche de
>>> solution. Mon shibenv.php me donne mail et non
>>> Shib-InetOrgPerson-mail !Cela vient certainement du mapping des
>>> attributs de mon SP.
>>> Donc, ta réponse m'a servi ;-)
>>> De plus, je sais maintenant ce que je dois obtenir :
>>> "workflow avec un menu très réduit (Tableau de bord avec aucun accès
>>> - Mon profil avec simplement un nom d'utilisateur- Quitter)"
>>> Je vais donc voir du coté de mon SP.
>>> Merci encore.
>>> Patrick
>>>
>>> Le 07/03/2011 10:33, Alain Le Drezen a écrit :

>>>> Bonjour,
>>>>
>>>>
>>>> Cette réponse ne sera sans doute pas d'une grande utilité mais bon ...
>>>>
>>>> En lorraine nous utilisons aussi ORI avec Shibboleth.
>>>>
>>>> Nous avons quasiment la même conf si ce n'est que nous utilisons
>>>> l'"eppn" à la place de "Shib-InetOrgPerson-mail".
>>>> Mais si shibenv.php te retourne bien "Shib-InetOrgPerson-mail" ça
>>>> ne devrait rien changer (mais j'essaierai bien avec l'eppn pour voir).
>>>>
>>>> Soit pour nous :
>>>>
>>>> pour le groupe admin
>>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("eppn").equals(" ")
>>>>
>>>>
>>>>
>>>> et aussi pour acegi-authentication-shib.xml
>>>>
>>>>
>>>>
>>>> Je ne pense pas que le problème vienne de la configuration des
>>>> groupes ou des autorisations du workflow car même sans aucun droit
>>>> tu devrais avoir accès au workflow avec un menu très réduit
>>>> (Tableau de bord avec aucun accès - Mon profil avec simplement un
>>>> nom d'utilisateur- Quitter).
>>>>
>>>>
>>>> Alain
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Le 07/03/2011 09:36, patrick.delage@univ-lemans.fr a écrit :

>>>>> Dans le cadre d'un projet de l'UNR Pays de la Loire, je veux
>>>>> configurer un
>>>>> workflow ORI-OAI avec authentification sur la fédération
>>>>> d'identité RENATER.
>>>>> Le SP est bien configuré sur le serveur pour récupérer l'adresse mail
>>>>> fournie mon idp de test. (verification faite avec shibenv.php)
>>>>>
>>>>> J'ai configuré le workflow en fonction des infos disponibles sur
>>>>> le wiki
>>>>> ORI-OAI.
>>>>> ainsi que tous les autres modules (dernières versions sur le SVN)
>>>>>
>>>>> J'obtiens bien une authentification sur mon idp de test et arrive sur
>>>>> l'interface du workflow (1.6.3) avec le message "Merci de vous
>>>>> authentifier
>>>>> ..."
>>>>> Je n'ai bien sûr pas de choix d'authentification CAS/LDAP que je
>>>>> n'ai pas
>>>>> activées.
>>>>> Je reste donc bloqué à ce niveau ....
>>>>>
>>>>> Pour mon test, j'ai configuré l'admin ainsi :
>>>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>>>>>
>>>>>
>>>>> et le workflow dc_very_easy avec mon email
>>>>> # Groupe des auteurs de ressources documentaires
>>>>> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)
>>>>> # Groupe des administrateurs
>>>>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>>>>>
>>>>>
>>>>> Le fichier
>>>>> conf/properties/spring/acegi/acegi-authentication-shib.xml reste
>>>>> inchangé :
>>>>>
>>>>>
>>>>> >>>>> "http://www.springframework.org/dtd/spring-beans.dtd">
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> >>>>> class="org.orioai.workflow.services.application.shib.ShibAuthenticator">
>>>>>
>>>>>
>>>>> value="Shib-InetOrgPerson-mail"/>
>>>>>
>>>>>

>>>>>
>>>>>

>>>>>
>>>>> Ainsi que le fichier groups.xml du workflow very easy :
>>>>>
>>>>> >>>>> "http://www.springframework.org/dtd/spring-beans.dtd">
>>>>>
>>>>>
>>>>>
>>>>>

>>>>> >>>>> class="org.orioai.workflow.services.acls.OriGroupConfig">
>>>>>
>>>>>
>>>>>
>>>>> groupsMap defines a Map where
>>>>> * keys are groups names
>>>>> * values are ldap, virtual or
>>>>> shibboleth groups used
>>>>>

>>>>>
>>>>>
>>>>>
>>>>>
>>>>>

>>>>>
>>>>>
>>>>>
>>>>>

>>>>>

>>>>>
>>>>>
>>>>>

>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Merci pour votre aide.
>>>>> P. Delage

>>>>

>>>
>>>

>>
>>

>
>

patrickdelagecri
Bonjour Alain,
Je reviens directement vers toi. As-tu vu mon dernier message sur la liste.
Je pense que tu dois avoir la réponse à la question suivante :

Comment définir par exemple WORKFLOW_DC-VE_GROUP_ALL pour autoriser tous
les utilisateurs authentifiés vi shibboleth
(@univ-lemans.fr, @univ-nantes.fr, @univ-angers.fr, ...) autrement dit,
toute personnes authentifié (l'équivalent à virtual:(objectClass=Person)
quand on utilise CAS/LDAP)
Dans mon cas, la config de mon SP ne permet l'accès qu'aux idp de nos 3
établissement.
D'avance merci.

--
Patrick Delage
Responsable Pôle Services Web - ENT
DSI Université du Maine
Av. Olivier MESSIAEN - 72085 LE MANS CEDEX 9
Tél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01

patrickdelagecri
Demande d'information complémentaire :

Comment définir par exemple WORKFLOW_DC-VE_GROUP_ALL pour autoriser tous
les utilisateurs authentifiés vi shibboleth
(@univ-lemans.fr, @univ-nantes.fr, @univ-angers.fr, ...)

Merci

Le 07/03/2011 11:35, Patrick Delage a écrit :

> Problème résolu.
> Mon fichier attribute-maps.xml de mon SP fournit "mail" comme adresse
> mail.
> J'ai donc corriger
> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("mail").equals(" ")
>
> et le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml
>
>
> Et j'obtiens bien l'interface du workflow attendue.
> Merci
> Patrick
>
> Le 07/03/2011 10:57, Patrick Delage a écrit :

>> Bonjour Alain,
>> Merci pour cette réponse qui me donne une piste de recherche de
>> solution. Mon shibenv.php me donne mail et non
>> Shib-InetOrgPerson-mail !Cela vient certainement du mapping des
>> attributs de mon SP.
>> Donc, ta réponse m'a servi ;-)
>> De plus, je sais maintenant ce que je dois obtenir :
>> "workflow avec un menu très réduit (Tableau de bord avec aucun accès
>> - Mon profil avec simplement un nom d'utilisateur- Quitter)"
>> Je vais donc voir du coté de mon SP.
>> Merci encore.
>> Patrick
>>
>> Le 07/03/2011 10:33, Alain Le Drezen a écrit :

>>> Bonjour,
>>>
>>>
>>> Cette réponse ne sera sans doute pas d'une grande utilité mais bon ...
>>>
>>> En lorraine nous utilisons aussi ORI avec Shibboleth.
>>>
>>> Nous avons quasiment la même conf si ce n'est que nous utilisons
>>> l'"eppn" à la place de "Shib-InetOrgPerson-mail".
>>> Mais si shibenv.php te retourne bien "Shib-InetOrgPerson-mail" ça ne
>>> devrait rien changer (mais j'essaierai bien avec l'eppn pour voir).
>>>
>>> Soit pour nous :
>>>
>>> pour le groupe admin
>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("eppn").equals(" ")
>>>
>>>
>>>
>>> et aussi pour acegi-authentication-shib.xml
>>>
>>>
>>>
>>> Je ne pense pas que le problème vienne de la configuration des
>>> groupes ou des autorisations du workflow car même sans aucun droit
>>> tu devrais avoir accès au workflow avec un menu très réduit (Tableau
>>> de bord avec aucun accès - Mon profil avec simplement un nom
>>> d'utilisateur- Quitter).
>>>
>>>
>>> Alain
>>>
>>>
>>>
>>>
>>>
>>>
>>> Le 07/03/2011 09:36, patrick.delage@univ-lemans.fr a écrit :

>>>> Dans le cadre d'un projet de l'UNR Pays de la Loire, je veux
>>>> configurer un
>>>> workflow ORI-OAI avec authentification sur la fédération d'identité
>>>> RENATER.
>>>> Le SP est bien configuré sur le serveur pour récupérer l'adresse mail
>>>> fournie mon idp de test. (verification faite avec shibenv.php)
>>>>
>>>> J'ai configuré le workflow en fonction des infos disponibles sur le
>>>> wiki
>>>> ORI-OAI.
>>>> ainsi que tous les autres modules (dernières versions sur le SVN)
>>>>
>>>> J'obtiens bien une authentification sur mon idp de test et arrive sur
>>>> l'interface du workflow (1.6.3) avec le message "Merci de vous
>>>> authentifier
>>>> ..."
>>>> Je n'ai bien sûr pas de choix d'authentification CAS/LDAP que je
>>>> n'ai pas
>>>> activées.
>>>> Je reste donc bloqué à ce niveau ....
>>>>
>>>> Pour mon test, j'ai configuré l'admin ainsi :
>>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>>>>
>>>>
>>>> et le workflow dc_very_easy avec mon email
>>>> # Groupe des auteurs de ressources documentaires
>>>> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)
>>>> # Groupe des administrateurs
>>>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>>>>
>>>>
>>>> Le fichier
>>>> conf/properties/spring/acegi/acegi-authentication-shib.xml reste
>>>> inchangé :
>>>>
>>>>
>>>> >>>> "http://www.springframework.org/dtd/spring-beans.dtd">
>>>>
>>>>
>>>>
>>>>
>>>> >>>> class="org.orioai.workflow.services.application.shib.ShibAuthenticator">
>>>>
>>>>
>>>> value="Shib-InetOrgPerson-mail"/>
>>>>
>>>>

>>>>
>>>>

>>>>
>>>> Ainsi que le fichier groups.xml du workflow very easy :
>>>>
>>>> >>>> "http://www.springframework.org/dtd/spring-beans.dtd">
>>>>
>>>>
>>>>
>>>>

>>>> >>>> class="org.orioai.workflow.services.acls.OriGroupConfig">
>>>>
>>>>
>>>>
>>>> groupsMap defines a Map where
>>>> * keys are groups names
>>>> * values are ldap, virtual or
>>>> shibboleth groups used
>>>>

>>>>
>>>>
>>>>
>>>>
>>>>

>>>>
>>>>
>>>>
>>>>

>>>>

>>>>
>>>>
>>>>

>>>>
>>>>
>>>>
>>>>
>>>> Merci pour votre aide.
>>>> P. Delage

>>>

>>
>>

>
>

--
Patrick Delage
Responsable Pôle Services Web - ENT
DSI Université du Maine
Av. Olivier MESSIAEN - 72085 LE MANS CEDEX 9
Tél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01

patrickdelagecri
Problème résolu.
Mon fichier attribute-maps.xml de mon SP fournit "mail" comme adresse mail.
J'ai donc corriger
WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("mail").equals(" ")

et le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml

Et j'obtiens bien l'interface du workflow attendue.
Merci
Patrick

Le 07/03/2011 10:57, Patrick Delage a écrit :

> Bonjour Alain,
> Merci pour cette réponse qui me donne une piste de recherche de
> solution. Mon shibenv.php me donne mail et non Shib-InetOrgPerson-mail
> !Cela vient certainement du mapping des attributs de mon SP.
> Donc, ta réponse m'a servi ;-)
> De plus, je sais maintenant ce que je dois obtenir :
> "workflow avec un menu très réduit (Tableau de bord avec aucun accès -
> Mon profil avec simplement un nom d'utilisateur- Quitter)"
> Je vais donc voir du coté de mon SP.
> Merci encore.
> Patrick
>
> Le 07/03/2011 10:33, Alain Le Drezen a écrit :

>> Bonjour,
>>
>>
>> Cette réponse ne sera sans doute pas d'une grande utilité mais bon ...
>>
>> En lorraine nous utilisons aussi ORI avec Shibboleth.
>>
>> Nous avons quasiment la même conf si ce n'est que nous utilisons
>> l'"eppn" à la place de "Shib-InetOrgPerson-mail".
>> Mais si shibenv.php te retourne bien "Shib-InetOrgPerson-mail" ça ne
>> devrait rien changer (mais j'essaierai bien avec l'eppn pour voir).
>>
>> Soit pour nous :
>>
>> pour le groupe admin
>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("eppn").equals(" ")
>>
>>
>>
>> et aussi pour acegi-authentication-shib.xml
>>
>>
>>
>> Je ne pense pas que le problème vienne de la configuration des
>> groupes ou des autorisations du workflow car même sans aucun droit tu
>> devrais avoir accès au workflow avec un menu très réduit (Tableau de
>> bord avec aucun accès - Mon profil avec simplement un nom
>> d'utilisateur- Quitter).
>>
>>
>> Alain
>>
>>
>>
>>
>>
>>
>> Le 07/03/2011 09:36, patrick.delage@univ-lemans.fr a écrit :

>>> Dans le cadre d'un projet de l'UNR Pays de la Loire, je veux
>>> configurer un
>>> workflow ORI-OAI avec authentification sur la fédération d'identité
>>> RENATER.
>>> Le SP est bien configuré sur le serveur pour récupérer l'adresse mail
>>> fournie mon idp de test. (verification faite avec shibenv.php)
>>>
>>> J'ai configuré le workflow en fonction des infos disponibles sur le
>>> wiki
>>> ORI-OAI.
>>> ainsi que tous les autres modules (dernières versions sur le SVN)
>>>
>>> J'obtiens bien une authentification sur mon idp de test et arrive sur
>>> l'interface du workflow (1.6.3) avec le message "Merci de vous
>>> authentifier
>>> ..."
>>> Je n'ai bien sûr pas de choix d'authentification CAS/LDAP que je
>>> n'ai pas
>>> activées.
>>> Je reste donc bloqué à ce niveau ....
>>>
>>> Pour mon test, j'ai configuré l'admin ainsi :
>>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>>>
>>>
>>> et le workflow dc_very_easy avec mon email
>>> # Groupe des auteurs de ressources documentaires
>>> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)
>>> # Groupe des administrateurs
>>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>>>
>>>
>>> Le fichier
>>> conf/properties/spring/acegi/acegi-authentication-shib.xml reste
>>> inchangé :
>>>
>>>
>>> >>> "http://www.springframework.org/dtd/spring-beans.dtd">
>>>
>>>
>>>
>>>
>>> >>> class="org.orioai.workflow.services.application.shib.ShibAuthenticator">
>>>
>>>
>>> value="Shib-InetOrgPerson-mail"/>
>>>
>>>

>>>
>>>

>>>
>>> Ainsi que le fichier groups.xml du workflow very easy :
>>>
>>> >>> "http://www.springframework.org/dtd/spring-beans.dtd">
>>>
>>>
>>>
>>>

>>> >>> class="org.orioai.workflow.services.acls.OriGroupConfig">
>>>
>>>
>>>
>>> groupsMap defines a Map where
>>> * keys are groups names
>>> * values are ldap, virtual or
>>> shibboleth groups used
>>>

>>>
>>>
>>>
>>>
>>>

>>>
>>>
>>>
>>>

>>>

>>>
>>>
>>>

>>>
>>>
>>>
>>>
>>> Merci pour votre aide.
>>> P. Delage

>>

>
>

patrickdelagecri
Bonjour Alain,
Merci pour cette réponse qui me donne une piste de recherche de
solution. Mon shibenv.php me donne mail et non Shib-InetOrgPerson-mail
!Cela vient certainement du mapping des attributs de mon SP.
Donc, ta réponse m'a servi ;-)
De plus, je sais maintenant ce que je dois obtenir :
"workflow avec un menu très réduit (Tableau de bord avec aucun accès -
Mon profil avec simplement un nom d'utilisateur- Quitter)"
Je vais donc voir du coté de mon SP.
Merci encore.
Patrick

Le 07/03/2011 10:33, Alain Le Drezen a écrit :

> Bonjour,
>
>
> Cette réponse ne sera sans doute pas d'une grande utilité mais bon ...
>
> En lorraine nous utilisons aussi ORI avec Shibboleth.
>
> Nous avons quasiment la même conf si ce n'est que nous utilisons
> l'"eppn" à la place de "Shib-InetOrgPerson-mail".
> Mais si shibenv.php te retourne bien "Shib-InetOrgPerson-mail" ça ne
> devrait rien changer (mais j'essaierai bien avec l'eppn pour voir).
>
> Soit pour nous :
>
> pour le groupe admin
> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("eppn").equals(" ")
>
>
>
> et aussi pour acegi-authentication-shib.xml
>
>
>
> Je ne pense pas que le problème vienne de la configuration des groupes
> ou des autorisations du workflow car même sans aucun droit tu devrais
> avoir accès au workflow avec un menu très réduit (Tableau de bord avec
> aucun accès - Mon profil avec simplement un nom d'utilisateur- Quitter).
>
>
> Alain
>
>
>
>
>
>
> Le 07/03/2011 09:36, patrick.delage@univ-lemans.fr a écrit :

>> Dans le cadre d'un projet de l'UNR Pays de la Loire, je veux
>> configurer un
>> workflow ORI-OAI avec authentification sur la fédération d'identité
>> RENATER.
>> Le SP est bien configuré sur le serveur pour récupérer l'adresse mail
>> fournie mon idp de test. (verification faite avec shibenv.php)
>>
>> J'ai configuré le workflow en fonction des infos disponibles sur le wiki
>> ORI-OAI.
>> ainsi que tous les autres modules (dernières versions sur le SVN)
>>
>> J'obtiens bien une authentification sur mon idp de test et arrive sur
>> l'interface du workflow (1.6.3) avec le message "Merci de vous
>> authentifier
>> ..."
>> Je n'ai bien sûr pas de choix d'authentification CAS/LDAP que je n'ai
>> pas
>> activées.
>> Je reste donc bloqué à ce niveau ....
>>
>> Pour mon test, j'ai configuré l'admin ainsi :
>> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>>
>>
>> et le workflow dc_very_easy avec mon email
>> # Groupe des auteurs de ressources documentaires
>> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)
>> # Groupe des administrateurs
>> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>>
>>
>> Le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml
>> reste
>> inchangé :
>>
>>
>> >> "http://www.springframework.org/dtd/spring-beans.dtd">
>>
>>
>>
>>
>> >> class="org.orioai.workflow.services.application.shib.ShibAuthenticator">
>>
>> value="Shib-InetOrgPerson-mail"/>
>>
>>

>>
>>

>>
>> Ainsi que le fichier groups.xml du workflow very easy :
>>
>> >> "http://www.springframework.org/dtd/spring-beans.dtd">
>>
>>
>>
>>

>> >> class="org.orioai.workflow.services.acls.OriGroupConfig">
>>
>>
>>
>> groupsMap defines a Map where
>> * keys are groups names
>> * values are ldap, virtual or
>> shibboleth groups used
>>

>>
>>
>>
>>
>>

>>
>>
>>
>>

>>

>>
>>
>>

>>
>>
>>
>>
>> Merci pour votre aide.
>> P. Delage

>

--
Patrick Delage
Responsable Pôle Services Web - ENT
DSI Université du Maine
Av. Olivier MESSIAEN - 72085 LE MANS CEDEX 9
Tél. : +33 2 43 83 30 41 Fax : +33 2 43 83 38 01

ledrezen
Bonjour,

Cette réponse ne sera sans doute pas d'une grande utilité mais bon ...

En lorraine nous utilisons aussi ORI avec Shibboleth.

Nous avons quasiment la même conf si ce n'est que nous utilisons
l'"eppn" à la place de "Shib-InetOrgPerson-mail".
Mais si shibenv.php te retourne bien "Shib-InetOrgPerson-mail" ça ne
devrait rien changer (mais j'essaierai bien avec l'eppn pour voir).

Soit pour nous :

pour le groupe admin
WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("eppn").equals(" ")

et aussi pour acegi-authentication-shib.xml

Je ne pense pas que le problème vienne de la configuration des groupes
ou des autorisations du workflow car même sans aucun droit tu devrais
avoir accès au workflow avec un menu très réduit (Tableau de bord avec
aucun accès - Mon profil avec simplement un nom d'utilisateur- Quitter).

Alain

Le 07/03/2011 09:36, patrick.delage@univ-lemans.fr a écrit :

> Dans le cadre d'un projet de l'UNR Pays de la Loire, je veux configurer un
> workflow ORI-OAI avec authentification sur la fédération d'identité RENATER.
> Le SP est bien configuré sur le serveur pour récupérer l'adresse mail
> fournie mon idp de test. (verification faite avec shibenv.php)
>
> J'ai configuré le workflow en fonction des infos disponibles sur le wiki
> ORI-OAI.
> ainsi que tous les autres modules (dernières versions sur le SVN)
>
> J'obtiens bien une authentification sur mon idp de test et arrive sur
> l'interface du workflow (1.6.3) avec le message "Merci de vous authentifier
> ..."
> Je n'ai bien sûr pas de choix d'authentification CAS/LDAP que je n'ai pas
> activées.
> Je reste donc bloqué à ce niveau ....
>
> Pour mon test, j'ai configuré l'admin ainsi :
> WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>
> et le workflow dc_very_easy avec mon email
> # Groupe des auteurs de ressources documentaires
> WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)
> # Groupe des administrateurs
> WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")
>
> Le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml reste
> inchangé :
>
>
> > "http://www.springframework.org/dtd/spring-beans.dtd">
>
>
>
>
> > class="org.orioai.workflow.services.application.shib.ShibAuthenticator">
>
> value="Shib-InetOrgPerson-mail"/>
>
>

>
>

>
> Ainsi que le fichier groups.xml du workflow very easy :
>
> > "http://www.springframework.org/dtd/spring-beans.dtd">
>
>
>
>

> > class="org.orioai.workflow.services.acls.OriGroupConfig">
>
>
>
> groupsMap defines a Map where
> * keys are groups names
> * values are ldap, virtual or
> shibboleth groups used
>

>
>
>
>
>

>
>
>
>

>

>
>
>

>
>
>
>
> Merci pour votre aide.
> P. Delage

patrickdelagecri
Dans le cadre d'un projet de l'UNR Pays de la Loire, je veux configurer un
workflow ORI-OAI avec authentification sur la fédération d'identité RENATER.
Le SP est bien configuré sur le serveur pour récupérer l'adresse mail
fournie mon idp de test. (verification faite avec shibenv.php)

J'ai configuré le workflow en fonction des infos disponibles sur le wiki
ORI-OAI.
ainsi que tous les autres modules (dernières versions sur le SVN)

J'obtiens bien une authentification sur mon idp de test et arrive sur
l'interface du workflow (1.6.3) avec le message "Merci de vous authentifier
..."
Je n'ai bien sûr pas de choix d'authentification CAS/LDAP que je n'ai pas
activées.
Je reste donc bloqué à ce niveau ....

Pour mon test, j'ai configuré l'admin ainsi :
WORKFLOW_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")

et le workflow dc_very_easy avec mon email
# Groupe des auteurs de ressources documentaires
WORKFLOW_DC-VE_GROUP_ALL=virtual:(objectClass=Person)
# Groupe des administrateurs
WORKFLOW_DC-VE_GROUP_ADMINS=shib:shibAttrsMap.get("Shib-InetOrgPerson-mail").equals(" ")

Le fichier conf/properties/spring/acegi/acegi-authentication-shib.xml reste
inchangé :


"http://www.springframework.org/dtd/spring-beans.dtd">

class="org.orioai.workflow.services.application.shib.ShibAuthenticator">

value="Shib-InetOrgPerson-mail"/>

Ainsi que le fichier groups.xml du workflow very easy :

"http://www.springframework.org/dtd/spring-beans.dtd">

class="org.orioai.workflow.services.acls.OriGroupConfig">


groupsMap defines a Map where
* keys are groups names
* values are ldap, virtual or
shibboleth groups used







Merci pour votre aide.
P. Delage

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur « Enregistrer les paramètres » pour activer vos changements.
Sujet clos