2 Replies Latest reply on Feb 3, 2008 7:23 PM by shane.bryzak

    Standard JAAS security domain not getting picked up

    ccrouch

      Environment: Seam 2.0.1.GA in JBoss5 Beta4

      I try to access a secured page in my application and get redirected to the login page. Entering in valid credentials doesn't login me in and I see the following in the log:

      13:38:05,109 WARN [IdentityManager] no identity store available - please install an IdentityStore with the name 'identityStore' if identity management is required.
      13:38:05,109 ERROR [SeamLoginModule] No authentication method defined - please define authenticate-method for <security:identity/> in components.xml



      In components.xml I have

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


      We're trying to use the standard jmx-console application-policy which comes with JBAS


      In pages.xml

      <page view-id="/secure/*">
       <restrict>#{s:hasRole('JBossAdmin')}</restrict>
       </page>


      FWIW this setup worked with RC's of Seam 2.0 and JBAS4.2

      Any thoughts on what I'm doing wrong?

      Thanks