13 Replies Latest reply on Feb 17, 2008 3:11 PM by Pete Muir

    Security: How to override messages

    Jens Weintraut Apprentice

      Hi,

      I'm currently testing Seam 2.0.1CR1 and introduced those security features in my app. Now everytime an user logs in, there's a FacesMessage "Welcome " displayed.
      I traced this message back to "FacesSecurityEvents" where the method "getLoginSuccessfulMessage()" just does this:

      public String getLoginSuccessfulMessage()
       {
       return "Welcome, #0";
       }

      How can I provide another message or switch this message off?

      Thanks in advance
      Newlukai