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 />

resource-manager-provided-adi<br />

parameter<br />

in<br />

the<br />

[aznapi-configuration]<br />

stanza<br />

of<br />

the<br />

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

configuration<br />

file<br />

specifies—to<br />

the<br />

authorization<br />

rules<br />

evaluation<br />

process—<br />

the<br />

prefixes<br />

that<br />

can<br />

be<br />

used<br />

in<br />

container<br />

names<br />

specified<br />

by<br />

authorization<br />

rules.<br />

To<br />

specify<br />

multiple<br />

prefixes,<br />

use<br />

multiple<br />

entries<br />

of<br />

the<br />

resource-manager-provided-adi<br />

parameter:<br />

[aznapi-configuration]<br />

resource-manager-provided-adi<br />

=<br />

AMWS_qs_<br />

resource-manager-provided-adi<br />

=<br />

AMWS_pb_<br />

resource-manager-provided-adi<br />

=<br />

AMWS_hd_<br />

The<br />

permission-info-returned<br />

parameter<br />

in<br />

the<br />

[aznapi-configuration]<br />

stanza<br />

of<br />

the<br />

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

configuration<br />

file<br />

appears<br />

by<br />

default.<br />

This<br />

parameter<br />

specifies<br />

the<br />

permission<br />

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

returned<br />

to<br />

the<br />

resource<br />

manager<br />

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

example,<br />

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

from<br />

the<br />

authorization<br />

service.<br />

The<br />

following<br />

example<br />

is<br />

entered<br />

as<br />

one<br />

line,<br />

with<br />

a<br />

single<br />

space<br />

separating<br />

the<br />

two<br />

permission<br />

types:<br />

[aznapi-configuration]<br />

permission-info-returned<br />

=<br />

azn_perminfo_rules_adi_request<br />

azn_perminfo_reason_rule_failed<br />

The<br />

azn_perminfo_rules_adi_request<br />

setting<br />

allows<br />

the<br />

authorization<br />

service<br />

to<br />

request<br />

ADI<br />

from<br />

the<br />

current<br />

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

client<br />

request.<br />

The<br />

azn_perminfo_reason_rule_failed<br />

setting<br />

specifies<br />

that<br />

rule<br />

failure<br />

reasons<br />

be<br />

returned<br />

to<br />

the<br />

resource<br />

manager<br />

(this<br />

setting<br />

is<br />

required<br />

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

–R<br />

junctions—see<br />

“Supplying<br />

a<br />

failure<br />

reason<br />

across<br />

a<br />

junction”<br />

on<br />

page<br />

363).<br />

Example:<br />

Retrieving<br />

ADI<br />

from<br />

the<br />

request<br />

header<br />

The<br />

following<br />

example<br />

authorization<br />

rule<br />

requires<br />

the<br />

name<br />

of<br />

the<br />

client<br />

machine’s<br />

host<br />

name.<br />

The<br />

client<br />

request<br />

is<br />

set<br />

up<br />

to<br />

include<br />

the<br />

host<br />

name<br />

value<br />

in<br />

the<br />

″host″<br />

header<br />

of<br />

the<br />

request.<br />

The<br />

use<br />

of<br />

the<br />

AMWS_hd_<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 />

from<br />

the<br />

request:<br />

[aznapi-configuration]<br />

resource-manager-provided-adi<br />

=<br />

AMWS_hd_<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 />

header<br />

name<br />

″host″.<br />

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

extracts<br />

the<br />

value<br />

contained<br />

in<br />

the<br />

″host″<br />

header<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 />

″host″<br />

header<br />

is<br />

″machineA″.<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 />

POST<br />

body<br />

or<br />

the<br />

query<br />

string<br />

of<br />

the<br />

request.<br />

Example:<br />

Retrieving<br />

ADI<br />

from<br />

the<br />

request<br />

query<br />

string<br />

The<br />

following<br />

example<br />

authorization<br />

rule<br />

requires<br />

the<br />

name<br />

of<br />

the<br />

client’s<br />

zip<br />

code<br />

as<br />

passed<br />

in<br />

the<br />

query<br />

string<br />

of<br />

a<br />

GET<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 />

zip<br />

code<br />

value<br />

in<br />

the<br />

″zip″<br />

field<br />

of<br />

the<br />

request<br />

query<br />

string.<br />

https://www.service.com/location?zip=99999<br />

360<br />

<strong>IBM</strong><br />

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

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

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

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

e-<strong>business</strong>:<br />

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

<strong>Administration</strong><br />

Guide

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

Saved successfully!

Ooh no, something went wrong!