09.12.2012 Views

Download PDF - IBM Redbooks

Download PDF - IBM Redbooks

Download PDF - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Java Authentication and Authorization Service (JAAS)<br />

Briefly, JAAS is a J2EE standard and pluggable Java code (stub) that enables<br />

J2EE-compliant applications to authenticate and enforce access controls upon<br />

users. JAAS provides two interfaces:<br />

► An application-level programming interface (API) for use by J2EE applications<br />

► A service programming interface (SPI) for the providers of its functionality<br />

JAAS uses the concept of a subject in which a principal and credential are<br />

created for a user request to log in.<br />

1.3.4 MQ client authentication overview<br />

Message queuing, which was founded on queuing theory, is a communication<br />

vehicle where two application programs can exchange messages using<br />

predefined queues. The application programs simply do read/write messages to<br />

these queues, and the message is handled by other message queue processors.<br />

<strong>IBM</strong> award-winning messaging queuing, formerly known as MQSeries®, has<br />

been renamed as WebSphere MQ (WMQ). WebSphere MQ can communicate<br />

with JMS-based applications running in WAS. This can be either a JMS client<br />

application (WAS outbound) or a message-driven bean (MDB) (WAS inbound).<br />

There are two ways WAS and WMQ can communicate. If WMQ is local (that is,<br />

on the same LPAR as WAS), then the communication is via cross memory. If<br />

WMQ is remote to WAS, then the communication is over TCP/IP.<br />

MQ clients and other WMQ queue managers communicate with WMQ queue<br />

managers over channels. When WAS applications use direct JMS connections to<br />

a WebSphere MQ queue manager, not using the Service Integration Bus, the<br />

WAS applications appear as MQ clients. When communication is done via the<br />

Service Integration Bus, the MQ link appears as another queue manager to<br />

WebSphere MQ. Regardless of what method is used, communication is done<br />

over one or more channels. SSL properties on the channel allow for selection of<br />

which Cipher Spec to use and which clients, based on DN, to accept connections<br />

from. Enabling SSL on the channel is as simple as selecting the Cipher Spec and<br />

restarting the channel.<br />

For more information about configuring SSL between WebSphere Application<br />

Server and WebSphere MQ as the JMS provider, review the following articles in<br />

the WebSphere Developer Technical Journal:<br />

► Securing connections between WebSphere Application Server and<br />

WebSphere MQ: Part 1: Using the WebSphere MQ JMS provider at:<br />

http://www-128.ibm.com/developerworks/websphere/techjournal/0601_<br />

ratnasinghe/0601_ratnasinghe.html<br />

Chapter 1. Introduction 19

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

Saved successfully!

Ooh no, something went wrong!