03.05.2015 Views

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Important: Message Driven Bean is a new functionality introduced in EJB 2.0<br />

Specifications. A Message Driven Bean is a stateless component that is<br />

invoked by the container as a result of the arrival of a JMS message. Invoking<br />

the getCallerPrincipal and isCallerInRole methods is disallowed in the<br />

message-driven bean methods because the container does not have client<br />

security context. The Container will throw the java.lang.IllegalStateException if<br />

either of these methods is invoked.<br />

7.2.3 <strong>Security</strong> for <strong>WebSphere</strong> Embedded JMS Provider<br />

This section discusses the security related features of the Embedded JMS<br />

Provider that comes with <strong>WebSphere</strong> Application Server V5.<br />

Add/remove queues to Embedded JMS Provider<br />

The following steps describe how to add and remove queues with the embedded<br />

<strong>WebSphere</strong> JMS provider.<br />

1. In the navigation pane, select Servers -> Application Servers. Here you<br />

should see the list of application servers.<br />

2. In the content panel, click the name of the application server. In our case, it is<br />

server1; this displays the properties of the chosen application server.<br />

3. In the content panel, under Additional Properties, select Server Components<br />

-> JMS Servers, this displays the JMS properties.<br />

4. If you want to add or remove queues, you can remove them from here, under<br />

the Queue Names text box.<br />

5. Save the configuration then restart the application server, to make the<br />

changes effective.<br />

This creates the required queues in the Embedded JMS Provider for<br />

<strong>WebSphere</strong>.<br />

Implement security for <strong>WebSphere</strong> Embedded JMS Provider<br />

The following steps describe how to configure security for the Embedded JMS<br />

Provider.<br />

1. Configure authentication settings owned by the internal JMS Provider.<br />

Authorization to access JMS resources owned by the internal JMS provider is<br />

controlled by settings in the XML file:<br />

/config/cells//internal-jms-authorizations.<br />

xml. For queues and topics, this file is the source of authorization information.<br />

This file includes the information regarding which user has what permissions.<br />

162 <strong>IBM</strong> <strong>WebSphere</strong> <strong>V5.0</strong> <strong>Security</strong> Handbook

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

Saved successfully!

Ooh no, something went wrong!