2 Replies Latest reply on Apr 22, 2010 10:05 AM by mjhazbri

    LoginContext in Seam Identity

    mjhazbri

      Hello every body, i would like to create a security module based on JAAS API. I read the source code of Seam Identity and i find that he is based on a default ContextLogin who is not declared in jboss-login.xml and i would like to discover how he call this LoginContext.
      If possible to create a ContextLogin with a java code, give as a note.??
      thinks in advance.

        • 1. Re: LoginContext in Seam Identity
          shane.bryzak

          Sure, just set the Identity.jaasConfigName property to the name of the JAAS configuration you would like to use.

          • 2. Re: LoginContext in Seam Identity
            mjhazbri

            I know that if you use a some Configuration (like jaas.config file to setup a some configuraion and to tell the server that you use your LoginModule), u should add your config in jboss-login.xml (I suppose that the Application Server is a Jboss AS), but Seam don't put this in the jboss-login.xml.
            I ask to know how Seam tell the Server for this Configuration.