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

Create successful ePaper yourself

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

The<br />

following<br />

diagram<br />

illustrates<br />

this<br />

solution<br />

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

filtering<br />

server-relative<br />

URLs<br />

See<br />

also<br />

“Handling<br />

cookies<br />

from<br />

servers<br />

across<br />

multiple<br />

-j<br />

junctions”<br />

on<br />

page<br />

295<br />

and<br />

“Processing<br />

root<br />

junction<br />

requests”<br />

on<br />

page<br />

294.<br />

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

provides<br />

an<br />

alternative,<br />

non-cookie-based<br />

solution<br />

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

handling<br />

dynamically<br />

generated<br />

server-relative<br />

URLs.<br />

See<br />

“Handling<br />

server-relative<br />

URLs<br />

with<br />

junction<br />

mapping”<br />

on<br />

page<br />

293.<br />

Handling<br />

server-relative<br />

URLs<br />

with<br />

junction<br />

mapping<br />

Server-relative<br />

URLs<br />

generated<br />

on<br />

the<br />

client-side<br />

by<br />

applets<br />

and<br />

scripts<br />

initially<br />

lack<br />

knowledge<br />

of<br />

the<br />

junction<br />

point.<br />

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

cannot<br />

filter<br />

the<br />

URL<br />

because<br />

it<br />

is<br />

generated<br />

on<br />

the<br />

client-side.<br />

During<br />

a<br />

client<br />

request<br />

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

a<br />

resource<br />

using<br />

this<br />

URL,<br />

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

can<br />

attempt<br />

to<br />

reprocess<br />

the<br />

server-relative<br />

URL<br />

using<br />

junction<br />

mapping.<br />

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

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

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

provides<br />

an<br />

alternative<br />

to<br />

the<br />

cookie-based<br />

solution<br />

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

filtering<br />

dynamically<br />

generated<br />

server-relative<br />

URLs.<br />

You<br />

can<br />

create<br />

and<br />

activate<br />

a<br />

junction<br />

mapping<br />

table<br />

that<br />

maps<br />

specific<br />

target<br />

resources<br />

to<br />

junction<br />

names.<br />

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

checks<br />

the<br />

location<br />

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

in<br />

the<br />

server-relative<br />

URL<br />

with<br />

the<br />

data<br />

contained<br />

in<br />

the<br />

junction<br />

mapping<br />

table.<br />

If<br />

the<br />

path<br />

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

in<br />

the<br />

URL<br />

matches<br />

an<br />

entry<br />

in<br />

the<br />

table,<br />

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

directs<br />

the<br />

request<br />

to<br />

the<br />

junction<br />

associated<br />

with<br />

that<br />

location.<br />

The<br />

table<br />

is<br />

an<br />

ASCII<br />

text<br />

file<br />

called<br />

jmt.conf.<br />

The<br />

location<br />

of<br />

this<br />

file<br />

is<br />

specified<br />

in<br />

the<br />

[junction]<br />

stanza<br />

of<br />

the<br />

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

configuration<br />

file:<br />

jmt-map<br />

=<br />

lib/jmt.conf<br />

The<br />

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

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

data<br />

entry<br />

in<br />

the<br />

table<br />

consists<br />

of<br />

the<br />

junction<br />

name,<br />

a<br />

space,<br />

and<br />

the<br />

resource<br />

location<br />

pattern.<br />

You<br />

can<br />

also<br />

use<br />

wildcard<br />

characters<br />

to<br />

express<br />

the<br />

resource<br />

location<br />

pattern.<br />

In<br />

the<br />

following<br />

example<br />

of<br />

the<br />

junction<br />

mapping<br />

configuration<br />

file,<br />

two<br />

back-end<br />

servers<br />

are<br />

junctioned<br />

to<br />

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

at<br />

/jctA<br />

and<br />

/jctB:<br />

#jmt.conf<br />

#junction-name<br />

resource-location-pattern<br />

/jctA<br />

/documents/release-notes.html<br />

/jctA<br />

/travel/index.html<br />

/jctB<br />

/accounts/*<br />

/jctB<br />

/images/weather/*.jpg<br />

Client<br />

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

Application Server<br />

(serves Javascript)<br />

Script containing<br />

server-relative URL:<br />

/abc.html<br />

/jctA<br />

with -j option<br />

Script runs and generates<br />

link: /abc.html<br />

request request<br />

Client makes request<br />

using link:<br />

/abc.html<br />

abc.html<br />

successfully located<br />

Cookie sent<br />

with request<br />

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

request as:<br />

/jctA/abc.html<br />

1<br />

2<br />

3<br />

/jctA<br />

<strong>WebSEAL</strong> sends cookie<br />

to identify junction<br />

/jctA<br />

Figure<br />

14.<br />

Processing<br />

server-relative<br />

URLs<br />

Chapter<br />

10.<br />

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

junctions<br />

293

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

Saved successfully!

Ooh no, something went wrong!