0 Replies Latest reply on Aug 23, 2011 4:00 AM by Mehdi Shahverdi

    security:portal-identity problem

    Mehdi Shahverdi Newbie

      Hi

       

      I'm faceing two following problems :

      1)  my components.xml file does'nt specify < security:portal-identity ... >

      the error says : The matching wildcard is strict, but no declaration can be found for element  'security:portal-identity'.

       

      2) i want to catch the event when i log into portal ( i even tried the following code but no result indeed )

       

      @Observer(PortalIdentity.EVENT_LOGIN_SUCCESSFUL)

       

      public void addLoginSuccessfulMessage()

          {

             System.out.println(">>>>>>>>>>>>>>>EVENT_LOGIN_SUCCESSFUL handled<<<<<<<<<<<<<<<");

           }

       

      Thanks In Advanced