portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: Error messages for Security Forms hard coded
Date Sat, 29 Jan 2005 18:23:06 GMT
Mehdi Bennani wrote:
> Hey Folks, 
> We have implemented our UserManagement, groupManagement and
> roleManagement security classes as per the jetpseed interfaces provided.
> It is all working fine, except that the messages returned when there is
> any failure are all hard-coded and coming from the SecurityConstants
> class string array. This poses a problem, not only for localization but
> also prevents us from displaying the right message to the user.  
> Example: if the admin tries to create a user with an invalid email
> address according to some password policy, we would like to inform the
> admin: "Error: password not conform to policy XYZ...". But instead we
> get the generic: "Invalid Entity Name. Please enter a valid entity
> name."

A patch using Java localized resources files would be very welcome!
There are examples of this in the Jetspeed-2 cvs
See for example


David Sean Taylor
Bluesunrise Software
[office] +01 707 773-4646
[mobile] +01 707 529 9194

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message