Note –
Users and groups are designated for the entire Enterprise Server, whereas each
application defines its own roles. When the application is being packaged and deployed, the
application specifies mappings between users/groups and roles, as illustrated in the following
figure.
Users
A
user
is an individual (or application program) identity that has been defined in the Enterprise
Server. A user can be associated with a group. The Enterprise Server authentication service can
govern users in multiple realms.
Groups
A
Java EE group
(or simply group) is a category of users classified by common traits, such as job
title or customer profile. For example, users of an e-commerce application might belong to the
customer
group, but the big spenders would belong to the
preferred
group. Categorizing users
into groups makes it easier to control the access of large numbers of users.
FIGURE 9–1
Role Mapping
Understanding Users, Groups, Roles, and Realms
Chapter 9 • Configuring Security
105
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...