web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

EJB to CORBA mapping atmSession->transfer("checking", "saving", 100.00 ); current->commit( 0 ); } catch( ... ) { current->rollback(); } } catch( ... ) { ... } Mapping for security Security aspects of the EJB specification focuses on controlling access to enterprise beans. CORBA defines a number of ways to define the identities, including the following cases: ■ ■ ■ ■ Plain IIOP. CORBA's principal interface was deprecated in early 1998. The principal interface was intended for determining the identity of a client. However, the authors of the CORBA security services implemented a different approach, GIOP. The GIOP specification contains a component called service context, which is an array of value pairs. The identifier is a CORBA long and the value is a sequence of octet. Among other purposes, entries in the service context can be used to identify a caller. Secure IIOP. The CORBA security specification defines an opaque data type for the identity. The real type of the identity is determined by the chosen security mechanism; for example, GSS Kerberos, SPKM, or CSI-ECMA. IIOP over SSL. SSL uses X.509 certificates to identify servers and, optionally, clients. When a server requests a client certificate, the server can use the certificate as a client identity. Chapter 11: Writing enterprise bean clients 95

96 BES Developer’s Guide

EJB to CORBA mapping<br />

atmSession->transfer("checking", "saving", 100.00 );<br />

current->commit( 0 );<br />

} catch( ... ) {<br />

current->rollback();<br />

}<br />

}<br />

catch( ... ) {<br />

...<br />

}<br />

Mapping for security<br />

Security aspects of the EJB specification focuses on controlling access to enterprise<br />

beans. CORBA defines a number of ways to define the identities, including the<br />

following cases:<br />

■<br />

■<br />

■<br />

■<br />

Plain IIOP. CORBA's principal interface was deprecated in early 1998. The principal<br />

interface was intended for determining the identity of a client. However, the authors<br />

of the CORBA security services implemented a different approach, GIOP.<br />

The GIOP specification contains a component called service context, which is an<br />

array of value pairs. The identifier is a CORBA long and the value is a sequence of<br />

octet. Among other purposes, entries in the service context can be used to identify a<br />

caller.<br />

Secure IIOP. The CORBA security specification defines an opaque data type for the<br />

identity. The real type of the identity is determined by the chosen security<br />

mechanism; for example, GSS Kerberos, SPKM, or CSI-ECMA.<br />

IIOP over SSL. SSL uses X.509 certificates to identify <strong>server</strong>s and, optionally,<br />

clients. When a <strong>server</strong> requests a client certificate, the <strong>server</strong> can use the certificate<br />

as a client identity.<br />

Chapter 11: Writing enterprise bean clients 95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!