0 Replies Latest reply on Aug 23, 2011 3:52 AM by Mehdi Shahverdi

    security:portal-identity problem

    Mehdi Shahverdi Newbie

      Hi

       

      I'm faceing two following problem

      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)

       

       

      Thanks In Advanced

       

       

       

       

       

       

          public void addLoginSuccessfulMessage()

          {

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

       

           }