[jboss-user] [JBoss Seam] - Re: Identity.login adds a hardcoded message
hstang
do-not-reply at jboss.com
Thu Feb 1 23:31:35 EST 2007
You could provide your own implementation of login() instead of using's Identity. That way you can customize the messages however you want. e.g.
| Identity.instance().authenticate()
|
I'm with you in thinking exposing login() in the design of the API with hard coded inputs as you mentioned was a bad idea, especially when used in examples where people think it is some sort of pattern.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009843#4009843
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009843
More information about the jboss-user
mailing list