5 Replies Latest reply on Feb 1, 2007 6:29 PM by Shane Bryzak

    Seam 1.1.5 security components issues?

    Dan Liu Apprentice

      I've just downloaded 1.1.5 and try to put the following code in my session listener:

      @Name("mysessionlistener")
      @Scope(SESSION)
      public class MyListener{
      @Create
      public void sessionCreated() {
      Identity identity=(Identity)Component.getInstance(Identity.class,true);
      }
      


      However, the returned identity is null. Any idea?