Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Enterprise JavaBeans™ Specification, Version 2.0 - Sun Microsystems.pdf
Скачиваний:
14
Добавлен:
24.05.2014
Размер:
2.71 Mб
Скачать

Sun Microsystems Inc

System Administrator’s responsibilities

Enterprise JavaBeans 2.0, Public Draft

Security management

The EJB Container must isolate an enterprise bean instance from other instances and other application components running on the server. The EJB Container must ensure that other enterprise bean instances and other application components are allowed to access an enterprise bean only via the enterprise bean’s remote and home interfaces.

The EJB Container must isolate an enterprise bean instance at runtime such that the instance does not gain unauthorized access to privileged system information. Such information includes the internal implementation classes of the container, the various runtime state and context maintained by the container, object references of other enterprise bean instances, or resource managers used by other enterprise bean instances. The EJB Container must ensure that the interactions between the enterprise beans and the container are only through the EJB architected interfaces.

The EJB Container must ensure the security of the persistent state of the enterprise beans.

The EJB Container must manage the mapping of principals on calls to other enterprise beans or on access to resource managers according to the security policy defined by the Deployer.

The Container must allow the same enterprise bean to be deployed independently multiple times, each time with a different security policy[35]. The Container must allow multi-

ple-deployed enterprise beans to co-exist at runtime.

20.6.10 Audit trail

The EJB Container may provide a security audit trail mechanism. A security audit trail mechanism typically logs all java.security.Exceptions. It also logs all denials of access to EJB Servers, EJB Container, EJB remote interfaces, and EJB home interfaces.

20.7 System Administrator’s responsibilities

This section defines the security-related responsibilities of the System Administrator. Note that some responsibilities may be carried out by the Deployer instead, or may require cooperation of the Deployer and the System Administrator.

20.7.1 Security domain administration

The System Administrator is responsible for the administration of principals. Security domain administration is beyond the scope of the EJB specification.

Typically, the System Administrator is responsible for creating a new user account, adding a user to a user group, removing a user from a user group, and removing or freezing a user account.

[35] The enterprise bean is installed each time using a different JNDI name.

423

5/31/00

Sun Microsystems Inc.

Security management

Enterprise JavaBeans 2.0, Public Draft

System Administrator’s responsibilities

20.7.2 Principal mapping

If the client is in a different security domain than the target enterprise bean, the system administrator is responsible for mapping the principals used by the client to the principals defined for the enterprise bean. The result of the mapping is available to the Deployer.

The specification of principal mapping techniques is beyond the scope of the EJB architecture.

20.7.3 Audit trail review

If the EJB Container provides an audit trail facility, the System Administrator is responsible for its management.

5/31/00

424