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

default<br />

lifetime<br />

of<br />

data<br />

in<br />

the<br />

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

user<br />

cache<br />

is<br />

30<br />

seconds.<br />

This<br />

lifetime<br />

begins<br />

when<br />

the<br />

data<br />

first<br />

enters<br />

the<br />

cache,<br />

such<br />

as<br />

when<br />

a<br />

user<br />

first<br />

authenticates,<br />

or<br />

when<br />

the<br />

cached<br />

data<br />

has<br />

expired<br />

and<br />

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

contacts<br />

the<br />

registry<br />

to<br />

update<br />

the<br />

data.<br />

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

contacts<br />

the<br />

registry<br />

to<br />

update<br />

the<br />

data<br />

during<br />

a<br />

credential<br />

refresh<br />

event.<br />

The<br />

cached<br />

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

is<br />

valid<br />

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

30<br />

seconds<br />

after<br />

it<br />

is<br />

first<br />

obtained<br />

from<br />

the<br />

registry.<br />

After<br />

30<br />

seconds,<br />

any<br />

credential<br />

refresh<br />

operations<br />

go<br />

directly<br />

to<br />

the<br />

user<br />

registry.<br />

The<br />

access<br />

to<br />

the<br />

user<br />

registry<br />

also<br />

causes<br />

the<br />

user<br />

data<br />

to<br />

be<br />

reloaded<br />

into<br />

the<br />

cache.<br />

The<br />

following<br />

example<br />

shows<br />

the<br />

algorithm<br />

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

updating<br />

the<br />

user<br />

cache:<br />

1.<br />

User<br />

authenticates<br />

at<br />

time<br />

auth_time.<br />

2.<br />

User<br />

is<br />

added<br />

to<br />

a<br />

group<br />

at<br />

time<br />

auth_time<br />

+<br />

120<br />

seconds<br />

3.<br />

User’s<br />

credential<br />

is<br />

refreshed<br />

at<br />

time<br />

auth_time<br />

+<br />

130<br />

seconds<br />

Because<br />

the<br />

user<br />

cache<br />

data<br />

expired<br />

at<br />

time<br />

auth_time<br />

+<br />

30<br />

seconds,<br />

the<br />

new<br />

group<br />

membership<br />

will<br />

be<br />

added<br />

to<br />

the<br />

user’s<br />

credential.<br />

Continuing<br />

with<br />

the<br />

same<br />

example:<br />

1.<br />

User<br />

is<br />

then<br />

added<br />

to<br />

another<br />

group<br />

at<br />

time<br />

auth_time<br />

+<br />

135<br />

seconds<br />

2.<br />

User’s<br />

credential<br />

is<br />

refreshed<br />

at<br />

time<br />

auth_time<br />

+<br />

140<br />

seconds<br />

When<br />

the<br />

user<br />

credential<br />

is<br />

refreshed<br />

at<br />

auth_time<br />

+<br />

140<br />

seconds,<br />

it<br />

does<br />

not<br />

pick<br />

up<br />

the<br />

new<br />

group<br />

membership.<br />

This<br />

is<br />

because<br />

the<br />

user<br />

credential<br />

is<br />

built<br />

off<br />

cached<br />

user<br />

data<br />

when<br />

the<br />

cached<br />

user<br />

data<br />

is<br />

considered<br />

valid<br />

(has<br />

not<br />

expired).<br />

Since<br />

the<br />

user<br />

cache<br />

data<br />

was<br />

updated<br />

at<br />

time<br />

auth_time<br />

+<br />

130<br />

seconds,<br />

it<br />

is<br />

not<br />

scheduled<br />

to<br />

be<br />

updated<br />

until<br />

auth_time<br />

+<br />

160<br />

seconds.<br />

Thus,<br />

the<br />

administrator<br />

must<br />

wait<br />

until<br />

time<br />

auth_time<br />

+<br />

160<br />

seconds<br />

to<br />

run<br />

the<br />

refresh<br />

command.<br />

At<br />

that<br />

time,<br />

the<br />

user<br />

credential<br />

will<br />

pick<br />

up<br />

the<br />

new<br />

group<br />

memberships.<br />

Configuration<br />

file<br />

syntax<br />

and<br />

usage<br />

The<br />

credential<br />

refresh<br />

behavior<br />

is<br />

controlled<br />

by<br />

entries<br />

in<br />

the<br />

[credential-refresh-<br />

attributes]<br />

stanza<br />

in<br />

the<br />

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

configuration<br />

file.<br />

The<br />

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

is:<br />

attribute_name_pattern<br />

=<br />

{preserve|refresh}<br />

The<br />

attribute<br />

name<br />

pattern<br />

is<br />

used<br />

to<br />

select<br />

a<br />

given<br />

set<br />

of<br />

attributes.<br />

Wild<br />

card<br />

matching<br />

is<br />

supported.<br />

A<br />

particular<br />

attribute<br />

can<br />

possibly<br />

be<br />

matched<br />

by<br />

many<br />

different<br />

wild<br />

card<br />

patterns.<br />

There<strong>for</strong>e,<br />

the<br />

order<br />

of<br />

elements<br />

in<br />

the<br />

configuration<br />

file<br />

is<br />

important.<br />

The<br />

firs<br />

pattern<br />

that<br />

matches<br />

a<br />

given<br />

attribute<br />

is<br />

the<br />

only<br />

pattern<br />

that<br />

applies<br />

to<br />

that<br />

attribute.<br />

Attribute<br />

names<br />

in<br />

attribute_name_pattern<br />

should<br />

not<br />

be<br />

case-sensitive<br />

because<br />

attribute<br />

names<br />

in<br />

credentials<br />

are<br />

not<br />

case-sensitive.<br />

Example<br />

–<br />

Preserve<br />

all<br />

of<br />

the<br />

tag<br />

value<br />

attributes<br />

added<br />

by<br />

an<br />

extended<br />

attribute<br />

CDAS:<br />

[credential-refresh-attributes]<br />

tagvalue_*<br />

=<br />

preserve<br />

Example<br />

–<br />

Update<br />

the<br />

tagvalue_last_refresh_time<br />

attribute<br />

with<br />

the<br />

value<br />

from<br />

the<br />

new<br />

credential,<br />

but<br />

preserve<br />

all<br />

other<br />

attributes<br />

that<br />

begin<br />

with<br />

tagvalue_:<br />

[credential-refresh-attributes]<br />

tagvalue_last_refresh_time<br />

=<br />

refresh<br />

tagvalue_*<br />

=<br />

preserve<br />

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