Don’t leave it to the auto-generated default messages.
Validation framework comes with set of useful routines to handle form validation automatically and it can handle both server side as well as client side form validation.
If certain validation is not present, you can create your own validation logic by implementing java interface and plug it into validation framework as a re-usable component.
Authentication also involves remembering, transporting, and making identity information available to various components of a system when that information is needed.
The Web Logic Server security architecture supports: password-based and certificate-based authentication directly with Web Logic Server; HTTP certificate-based authentication proxied through an external Web server; perimeter-based authentication (Web server, firewall, VPN); and authentication based on multiple security token types and protocols.
However, You should always customize the validation error messages.
If you imagine form as a dialog between your website and your user, the messages play an important role.
I strongly recommend you to go through the previous articles in case you are new to Struts2.
In this article we will learn how to leverage Struts2 Validation Framework in an application.
Web Logic Server includes numerous Authentication security providers.
Most of them work in similar fashion: given a username and password credential pair, the provider attempts to find a corresponding user in the provider's data store.
The following sections describe how to configure the Authentication security providers supplied by Web Logic Server.