Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the `j2ee security model ?

j2ee model security
0
10 Posted

What is the `j2ee security model ?

0

Aj2ee security is based on the notion of an `authenticated session’. When the client (e.g., Web browser) makes contact with the application server, the user is given the opportunity to log in. If login is successful, the client remains associated with his login credentials for the rest of the session. The user’s identity is known as theprincipal, and that principle can be associated with one or moreroles. This session is called an `authenticated session’.The login process is typically controlled by the application server; it will provide, for example, a servlet which accepts the user credentials (typically and ID and password), and stores the principal in the session. The developer does not have to write this servlet, but has to know how to get access to it.Security is implemented jointly by the developer and the administrator. The developer identifies security roles required in the application (`view’, `edit’, `manage’,…) and writes the code so that only principals in the correct ro

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.