0 Replies Latest reply on Apr 22, 2010 6:56 AM by Joshua D

    How to remove a status message added by the seam security module?

    Joshua D Novice

      I would like to show a different status message, when a suspended user tries to login. If the user is active we return true from the authenticate method, if not we add a custom StatusMessage message mentioning that the User X has been suspended. The underlying Identity authentication also fails and adds a StatusMessage. I tried removing the seam generated statusMessage with the following methods, but it doesn't seem to work and shows me 2 different status messages (my custom message, seam generated). What would be the issue here?

      StatusMessages statusMessages;