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

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

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

<strong>Security</strong> can be applied at two levels:<br />

► Enable gateway-level authentication<br />

► Enable operation-level authorization<br />

Enable gateway-level authentication<br />

Providing gateway-level authentication is actually nothing more than protecting<br />

the URLs /axisengine and /soaprpcrouter with HTTP Basic Authentication. These<br />

URLs are of the channel application wsgwsoap1.ear and wsgwsoap2.ear. We<br />

need to modify the web.xml files of these EAR files. Extract EAR files, again<br />

extract wsgwsoap1.war, wsgwsoap2.war files and finally extract web.xml files to<br />

modify.<br />

Example 7-5 BASIC security enabling for wsgwsoap1.ear and wsgwsoap2.ear<br />

<br />

<br />

<br />

SOAP Entry Servlets<br />

/axisengine<br />

/soaprpcrouter<br />

<br />

<br />

<br />

your role name - for example "meterable"<br />

<br />

<br />

<br />

<br />

BASIC<br />

your realm name - for example "WSGW Metered Access<br />

Area"<br />

<br />

<br />

<br />

your security role - for example "WSGW meterable<br />

role"<br />

your role name<br />

<br />

Make sure to enable Global <strong>Security</strong> for HTTP Basic Authentication in<br />

<strong>WebSphere</strong> Application Server using the Admin Console as mentioned in “HTTP<br />

Basic Authentication” on page 143<br />

Note: Make a copy of the wsgwsoap1.ear and wsgwsoap2.ear before<br />

modifying them for enabling gateway-level authentication.<br />

156 <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!