Web component security
A Web module consists of servlets, JavaServer Pages (JSP) files, server-side utility classes, static Web content (HTML, images, sound files, cascading style sheets (CSS)), and client-side classes (applets). We can use development tools such as Rational Application Developer to develop a Web module and enforce security at the method level of each Web resource.
We can identify a Web resource by its URI pattern. A Web resource method can be any HTTP method (GET, POST, DELETE, PUT, for example). We can group a set of URI patterns and a set of HTTP methods together and assign this grouping a set of roles. When a Web resource method is secured by associating a set of roles, grant a user at least one role in that set to access that method. We can exclude anyone from accessing a set of Web resources by assigning an empty set of roles. A servlet or a JSP file can run as different identities (RunAs identity) before invoking another enterprise bean component. All the secured Web resources require the user to log in by using a configured login mechanism. There are three types of Web login authentication mechanisms: basic authentication, form-based authentication and client certificate-based authentication.
For more detailed information on Web security see the product architectural overview article.
See Also
Introduction: Security
Rational is a trademark of the IBM Corporation in the United States, other countries, or both.