10.02.2013 Views

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

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.

Using<br />

query_contents<br />

with<br />

third-party<br />

servers<br />

If<br />

you<br />

want<br />

to<br />

protect<br />

the<br />

resources<br />

of<br />

the<br />

third-party<br />

application<br />

Web<br />

space<br />

using<br />

the<br />

<strong>Tivoli</strong><br />

<strong>Access</strong><br />

<strong>Manager</strong><br />

security<br />

service,<br />

you<br />

must<br />

provide<br />

<strong>WebSEAL</strong><br />

with<br />

in<strong>for</strong>mation<br />

about<br />

the<br />

contents<br />

of<br />

the<br />

third-party<br />

Web<br />

space.<br />

A<br />

CGI<br />

program<br />

called<br />

query_contents<br />

provides<br />

this<br />

in<strong>for</strong>mation.<br />

The<br />

query_contents<br />

program<br />

searches<br />

the<br />

third-party<br />

Web<br />

space<br />

contents<br />

and<br />

provides<br />

this<br />

inventory<br />

in<strong>for</strong>mation<br />

to<br />

the<br />

Web<br />

Portal<br />

<strong>Manager</strong><br />

on<br />

<strong>WebSEAL</strong>.<br />

The<br />

program<br />

comes<br />

with<br />

the<br />

<strong>WebSEAL</strong><br />

installation,<br />

but<br />

must<br />

be<br />

manually<br />

installed<br />

on<br />

the<br />

third-party<br />

server.<br />

There<br />

are<br />

different<br />

program<br />

file<br />

types<br />

available,<br />

depending<br />

on<br />

whether<br />

the<br />

third-party<br />

server<br />

is<br />

running<br />

UNIX<br />

or<br />

Windows.<br />

The<br />

Object<br />

Space<br />

manager<br />

of<br />

the<br />

Web<br />

Portal<br />

<strong>Manager</strong><br />

automatically<br />

runs<br />

query_contents<br />

any<br />

time<br />

the<br />

portion<br />

of<br />

the<br />

Protected<br />

Object<br />

Space<br />

representing<br />

the<br />

junction<br />

is<br />

expanded<br />

in<br />

the<br />

Object<br />

Space<br />

management<br />

panel.<br />

Now<br />

that<br />

the<br />

Web<br />

Portal<br />

<strong>Manager</strong><br />

knows<br />

about<br />

the<br />

contents<br />

of<br />

the<br />

third-party<br />

application<br />

space,<br />

you<br />

can<br />

display<br />

this<br />

in<strong>for</strong>mation<br />

and<br />

apply<br />

policy<br />

templates<br />

to<br />

appropriate<br />

objects.<br />

Installing<br />

query_contents<br />

components<br />

Installing<br />

query_contents<br />

is<br />

typically<br />

very<br />

easy.<br />

Installation<br />

involves<br />

copying<br />

one<br />

or<br />

two<br />

files<br />

from<br />

the<br />

<strong>Tivoli</strong><br />

<strong>Access</strong><br />

<strong>Manager</strong><br />

server<br />

to<br />

the<br />

third-party<br />

server<br />

and<br />

editing<br />

a<br />

configuration<br />

file.<br />

The<br />

following<br />

<strong>Tivoli</strong><br />

<strong>Access</strong><br />

<strong>Manager</strong><br />

directory<br />

contains<br />

a<br />

template<br />

of<br />

the<br />

program:<br />

UNIX:<br />

install-path/www/lib/query_contents<br />

Windows:<br />

install-path\www\lib\query_contents<br />

The<br />

contents<br />

of<br />

the<br />

directory<br />

includes:<br />

File<br />

Description<br />

query_contents.exe<br />

Main<br />

executable<br />

program<br />

<strong>for</strong><br />

Win32<br />

systems.<br />

Should<br />

be<br />

installed<br />

in<br />

the<br />

cgi-bin<br />

directory<br />

of<br />

the<br />

third-party<br />

Web<br />

server.<br />

query_contents.sh<br />

Main<br />

executable<br />

program<br />

<strong>for</strong><br />

UNIX<br />

systems.<br />

Should<br />

be<br />

installed<br />

in<br />

the<br />

cgi-bin<br />

directory<br />

of<br />

the<br />

third-party<br />

Web<br />

server.<br />

query_contents.c<br />

Source<br />

code.<br />

The<br />

source<br />

is<br />

provided<br />

in<br />

case<br />

you<br />

need<br />

to<br />

modify<br />

the<br />

behavior<br />

of<br />

query_contents.<br />

In<br />

most<br />

cases,<br />

this<br />

will<br />

not<br />

be<br />

necessary.<br />

query_contents.html<br />

Help<br />

file<br />

in<br />

HTML<br />

<strong>for</strong>mat.<br />

query_contents.cfg<br />

A<br />

sample<br />

configuration<br />

file<br />

that<br />

identifies<br />

the<br />

document<br />

root<br />

<strong>for</strong><br />

the<br />

Web<br />

server.<br />

Installing<br />

query_contents<br />

on<br />

third-party<br />

UNIX<br />

servers<br />

Locate<br />

the<br />

shell<br />

script<br />

named<br />

query_contents.sh<br />

in<br />

the<br />

following<br />

directory:<br />

install-path/www/lib/query_contents<br />

Chapter<br />

10.<br />

<strong>WebSEAL</strong><br />

junctions<br />

309

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

Saved successfully!

Ooh no, something went wrong!