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.

The<br />

use<br />

of<br />

the<br />

AMWS_qs_<br />

prefix<br />

in<br />

the<br />

rule<br />

alerts<br />

the<br />

authorization<br />

evaluation<br />

process<br />

that<br />

the<br />

required<br />

ADI<br />

is<br />

available<br />

in<br />

the<br />

client<br />

request<br />

and<br />

that<br />

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

knows<br />

how<br />

to<br />

find,<br />

extract,<br />

and<br />

return<br />

this<br />

ADI.<br />

!TRUE!<br />

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

is<br />

designed<br />

to<br />

know<br />

how<br />

to<br />

handle<br />

the<br />

extraction<br />

of<br />

ADI<br />

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

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

the<br />

request:<br />

[aznapi-configuration]<br />

resource-manager-provided-adi<br />

=<br />

AMWS_qs_<br />

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

understands<br />

this<br />

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

can<br />

be<br />

found<br />

in<br />

the<br />

request<br />

query<br />

string<br />

under<br />

the<br />

field<br />

name<br />

″zip″.<br />

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

extracts<br />

the<br />

value<br />

contained<br />

in<br />

the<br />

″zip″<br />

field<br />

and<br />

returns<br />

it<br />

to<br />

the<br />

authorization<br />

evaluation<br />

process.<br />

The<br />

example<br />

authorization<br />

rule<br />

is<br />

evaluated<br />

to<br />

be<br />

true<br />

if<br />

the<br />

value<br />

provided<br />

in<br />

the<br />

request’s<br />

query<br />

string<br />

″zip″<br />

field<br />

is<br />

″99999″.In<br />

a<br />

similar<br />

manner,<br />

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

required<br />

to<br />

evaluate<br />

an<br />

authorization<br />

rule<br />

can<br />

come<br />

from<br />

the<br />

request<br />

POST<br />

body<br />

or<br />

the<br />

request<br />

header.<br />

Example:<br />

Retrieving<br />

ADI<br />

from<br />

the<br />

request<br />

POST<br />

body<br />

The<br />

following<br />

example<br />

authorization<br />

rule<br />

requires<br />

the<br />

name<br />

of<br />

the<br />

client’s<br />

total<br />

purchase<br />

amount<br />

from<br />

a<br />

Web<br />

shopping<br />

cart<br />

as<br />

passed<br />

in<br />

the<br />

body<br />

of<br />

a<br />

POST<br />

request<br />

(as<br />

submitted<br />

in<br />

response<br />

to<br />

a<br />

<strong>for</strong>m).<br />

The<br />

client<br />

request<br />

is<br />

set<br />

up<br />

to<br />

include<br />

the<br />

total<br />

purchase<br />

value<br />

in<br />

the<br />

″purchase-total″<br />

field<br />

of<br />

the<br />

request<br />

POST<br />

body.<br />

The<br />

use<br />

of<br />

the<br />

AMWS_pb_<br />

prefix<br />

in<br />

the<br />

rule<br />

alerts<br />

the<br />

authorization<br />

evaluation<br />

process<br />

that<br />

the<br />

required<br />

ADI<br />

is<br />

available<br />

in<br />

the<br />

client<br />

request<br />

and<br />

that<br />

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

knows<br />

how<br />

to<br />

find,<br />

extract,<br />

and<br />

return<br />

this<br />

ADI.<br />

!TRUE!<br />

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

is<br />

designed<br />

to<br />

know<br />

how<br />

to<br />

handle<br />

the<br />

extraction<br />

of<br />

ADI<br />

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

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

the<br />

request:<br />

[aznapi-configuration]<br />

resource-manager-provided-adi<br />

=<br />

AMWS_pb_<br />

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

understands<br />

this<br />

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

can<br />

be<br />

found<br />

in<br />

the<br />

request<br />

POST<br />

body<br />

under<br />

the<br />

field<br />

name<br />

″purchase-total″.<br />

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

extracts<br />

the<br />

value<br />

contained<br />

in<br />

the<br />

″purchase-total″<br />

field<br />

and<br />

returns<br />

it<br />

to<br />

the<br />

authorization<br />

evaluation<br />

process.<br />

The<br />

example<br />

authorization<br />

rule<br />

is<br />

evaluated<br />

to<br />

be<br />

true<br />

if<br />

the<br />

value<br />

provided<br />

in<br />

the<br />

request’s<br />

POST<br />

body<br />

″purchase-total″<br />

field<br />

is<br />

less<br />

than<br />

″1000.00″.<br />

In<br />

a<br />

similar<br />

manner,<br />

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

required<br />

to<br />

evaluate<br />

an<br />

authorization<br />

rule<br />

can<br />

come<br />

from<br />

the<br />

request<br />

header<br />

or<br />

the<br />

query<br />

string<br />

of<br />

the<br />

request.<br />

Chapter<br />

13.<br />

Authorization<br />

decision<br />

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

retrieval<br />

361

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

Saved successfully!

Ooh no, something went wrong!