0 Replies Latest reply on Apr 11, 2008 4:27 PM by Manuel Martín

    Seam 2.0.1.GA + Glasfish V2UR1

    Manuel Martín Newbie


      I'm having problems to integrate a Seam application in a Glassfish server because I'm not capable to integrate Seam security with Glassfish realms.

      My components.xml has the next line:

      <security:identity authenticate-method="#{authenticator.authenticate}" jaas-config-name="file" />

      but when I authenticate the user the system allways returns a org.jboss.seam.security.NotLoggedInException.

      In seam debug page I can see the Identity component with username and password, but not logged.

      Component (org.jboss.seam.security.identity) 
      authenticateMethod org.jboss.seam.core.Expressions$2@1f7e1ba 
      class class org.jboss.seam.security.RuleBasedIdentity 
      credentialsSet true 
      jaasConfigName file 
      loggedIn false 
      password *********
      rememberMe false 
      securityContext org.drools.reteoo.ReteooStatefulSession@10487a7 
      securityRules org.drools.reteoo.ReteooRuleBase@1b2a73f 
      subject Asunto:  
      username mmp008es 
      toString() org.jboss.seam.security.RuleBasedIdentity@180137 

      I am not sure if I got something wrong in my configuration. I need your help, please!

      Thank you very much

      Kind regards