[JBoss-user] [Security & JAAS/JBoss] - Re: Migrating from Weblogic to JBoss : problem with weapp au

2005-08-03 Thread [EMAIL PROTECTED]
Ignored due to duplicate posting.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888222#3888222

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888222


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Migrating from Weblogic to JBoss : problem with weapp au

2005-08-02 Thread djeanprost
I made a dump of the request.getUserPrincipal(). Here it is :

14:53:46,846 INFO  [STDOUT] 
  name = djeanprost
  password = null
  realm = [EMAIL PROTECTED]
  roles =
   
EPArchitectureSI
EPEncadrementIntermediaire
EPPoleCompetences
LorisIntranet
absenteismeIntranet
ameliorationpermanenteIntranet
barGEDIntranet
basedocCMECDPIntranet
basedocCMEIntranet
basedocGRHIntranet
basedocPHSIntranet
basedocPSOIntranet
basedocQCOIntranet
collaborateur
collaborateurUtilisateurVersions
declarationAbsenteismeIntranet
dossiersStatistiquesIntranet
ficheAbsenteisme
intendance
outilsCommerciaux
outilsPedagogiquesIntranet
utilisateurRelancesIntranet
   
  authPrincipal = djeanprost
  callerPrincipal = djeanprost
  credentials = password1
  subject = Objet :
Principal : djeanprost
Principal : 
Roles(members:absenteismeIntranet,basedocCMECDPIntranet,utilisateurRelancesIntranet,outilsCommerciaux,collaborateurUtilisateurVers
ions,outilsPedagogiquesIntranet,ficheAbsenteisme,basedocPHSIntranet,basedocCMEIntranet,intendance,dossiersStatistiquesIntranet,EPEncadrementIntermedia
ire,basedocGRHIntranet,basedocPSOIntranet,declarationAbsenteismeIntranet,barGEDIntranet,EPPoleCompetences,EPArchitectureSI,LorisIntranet,ameliorationp
ermanenteIntranet,collaborateur,basedocQCOIntranet)

  userRoles =
   
absenteismeIntranet
basedocCMECDPIntranet
utilisateurRelancesIntranet
outilsCommerciaux
collaborateurUtilisateurVersions
outilsPedagogiquesIntranet
ficheAbsenteisme
basedocPHSIntranet
basedocCMEIntranet
intendance
dossiersStatistiquesIntranet
EPEncadrementIntermediaire
basedocGRHIntranet
basedocPSOIntranet
barGEDIntranet
declarationAbsenteismeIntranet
EPPoleCompetences
EPArchitectureSI
LorisIntranet
ameliorationpermanenteIntranet
basedocQCOIntranet
collaborateur
   



You can see that my principal doesn't have the role utilisateurCollaborateur 
although I specified role-mapping with jboss-web.xml which is below :

java:/jaas/djp
accueil
   
  utilisateurCollaborateur
  collaborateur
   


Here is my web.xml (a subset)

  
mainServlet
com.dexia.common.gui.WebServlet

  webAppClassName
  com.dexia.sofaxis.accueil.gui.AccueilGUI

  
  
...
  
  

  protected
  /services
  /main.jsp
  GET
  POST


   utilisateurCollaborateur

  
  
FORM
 
 /connexion.jsp
 /echecConnexion.jsp

  

  
 utilisateurCollaborateur
  


...

Does anyone has a clue ?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887961#3887961

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887961


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user