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.

v<br />

Resetting<br />

the<br />

session<br />

cache<br />

lifetime<br />

is<br />

configured<br />

to<br />

be<br />

true<br />

(reauth-reset-<br />

lifetime=yes)<br />

At<br />

the<br />

occurrence<br />

of<br />

a<br />

session<br />

lifetime<br />

expiration,<br />

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

checks<br />

the<br />

conditions<br />

listed<br />

above.<br />

If<br />

all<br />

conditions<br />

are<br />

met,<br />

the<br />

lifetime<br />

timeout<br />

is<br />

extended<br />

by<br />

the<br />

reauth-extend-lifetime<br />

value<br />

and<br />

the<br />

user’s<br />

session<br />

cache<br />

entry<br />

is<br />

″flagged″<br />

as<br />

extended.<br />

The<br />

session<br />

cache<br />

entry<br />

(containing<br />

the<br />

user<br />

credential)<br />

is<br />

not<br />

removed<br />

and<br />

the<br />

use<br />

can<br />

proceed<br />

to<br />

access<br />

unprotected<br />

resources.<br />

When<br />

the<br />

user<br />

requests<br />

a<br />

protected<br />

resource,<br />

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

prompts<br />

the<br />

user<br />

to<br />

reauthenticate.<br />

The<br />

reauth-extend-lifetime<br />

value<br />

should<br />

be<br />

set<br />

to<br />

a<br />

reasonable<br />

value<br />

so<br />

the<br />

user<br />

has<br />

enough<br />

time<br />

to<br />

trigger<br />

the<br />

reauthentication<br />

prompt.<br />

Note<br />

that<br />

if<br />

the<br />

user<br />

does<br />

not<br />

access<br />

a<br />

protected<br />

object<br />

during<br />

the<br />

″grace<br />

period″,<br />

the<br />

reauthentication<br />

process<br />

is<br />

not<br />

activated.<br />

In<br />

this<br />

case,<br />

it<br />

is<br />

possible<br />

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

the<br />

reauth-extend-lifetime<br />

value<br />

to<br />

expire,<br />

in<br />

which<br />

case<br />

the<br />

session<br />

cache<br />

entry<br />

is<br />

removed.<br />

Typically,<br />

however,<br />

reauthentication<br />

policy<br />

is<br />

implemented<br />

to<br />

secure<br />

an<br />

application<br />

that<br />

is<br />

serving<br />

predominantly<br />

protected<br />

resources.<br />

A<br />

time<br />

extension<br />

(″grace<br />

period″)<br />

of<br />

5–10<br />

minutes<br />

should<br />

be<br />

adequate<br />

time<br />

to<br />

allow<br />

an<br />

active<br />

user<br />

to<br />

trigger<br />

the<br />

reauthentication<br />

process,<br />

and<br />

thus<br />

reset<br />

the<br />

session<br />

lifetime<br />

value.<br />

Customizing<br />

login<br />

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

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

reauthentication<br />

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

supports<br />

reauthentication<br />

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

both<br />

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

and<br />

token<br />

authentication<br />

methods.<br />

By<br />

default,<br />

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

authentication<br />

uses<br />

the<br />

login.html<br />

page<br />

to<br />

request<br />

user<br />

name<br />

and<br />

password<br />

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

from<br />

the<br />

client<br />

(see<br />

“Custom<br />

HTML<br />

page<br />

descriptions”<br />

on<br />

page<br />

89).<br />

By<br />

default,<br />

token<br />

authentication<br />

uses<br />

the<br />

tokenlogin.html<br />

page<br />

to<br />

request<br />

user<br />

name<br />

and<br />

token<br />

passcode<br />

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

from<br />

the<br />

client<br />

(see<br />

“Custom<br />

HTML<br />

page<br />

descriptions”<br />

on<br />

page<br />

89).<br />

These<br />

same<br />

default<br />

login<br />

pages<br />

are<br />

also<br />

used<br />

during<br />

reauthentication.<br />

During<br />

initial<br />

login,<br />

both<br />

user<br />

name<br />

and<br />

password<br />

(passcode)<br />

fields<br />

are<br />

blank<br />

in<br />

each<br />

of<br />

these<br />

login<br />

pages.<br />

However,<br />

it<br />

is<br />

possible<br />

to<br />

have<br />

the<br />

user<br />

name<br />

field<br />

in<br />

these<br />

login<br />

pages<br />

automatically<br />

filled<br />

in<br />

during<br />

reauthentication<br />

by<br />

using<br />

the<br />

%USERNAME%<br />

macro<br />

(see<br />

“Macro<br />

support<br />

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

account<br />

management<br />

pages”<br />

on<br />

page<br />

89).<br />

The<br />

client<br />

needs<br />

to<br />

complete<br />

only<br />

the<br />

password<br />

(passcode)<br />

field.<br />

For<br />

example,<br />

modify<br />

the<br />

following<br />

line<br />

in<br />

the<br />

login.html<br />

page:<br />

<br />

to<br />

include<br />

the<br />

%USERNAME%<br />

macro:<br />

<br />

During<br />

an<br />

initial<br />

login,<br />

the<br />

value<br />

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

the<br />

%USERNAME%<br />

macro<br />

is<br />

empty<br />

and<br />

the<br />

user<br />

name<br />

text<br />

field<br />

displayed<br />

on<br />

the<br />

login<br />

page<br />

appears<br />

blank.<br />

For<br />

a<br />

reauthenticating<br />

client,<br />

the<br />

%USERNAME%<br />

macro<br />

now<br />

contains<br />

the<br />

value<br />

of<br />

the<br />

client<br />

user<br />

name.<br />

The<br />

user<br />

name<br />

text<br />

field<br />

on<br />

the<br />

login<br />

page<br />

appears<br />

with<br />

the<br />

user’s<br />

name<br />

automatically<br />

provided.<br />

Chapter<br />

7.<br />

Advanced<br />

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

authentication<br />

211

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

Saved successfully!

Ooh no, something went wrong!