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.

methods,<br />

insert<br />

the<br />

name<br />

of<br />

the<br />

custom<br />

CDAS<br />

as<br />

the<br />

value<br />

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

the<br />

configuration<br />

file<br />

keyword.<br />

For<br />

example,<br />

if<br />

you<br />

developed<br />

a<br />

custom<br />

CDAS<br />

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

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

authentication,<br />

enter<br />

the<br />

absolute<br />

path<br />

name:<br />

[authentication-mechanisms]<br />

failover-password<br />

=<br />

/dir_name/custom_cdas_failover_library.so<br />

Create<br />

an<br />

encryption<br />

key<br />

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

cookie<br />

data<br />

Use<br />

the<br />

cdsso_key_gen<br />

utility<br />

to<br />

secure<br />

the<br />

cookie<br />

data.<br />

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

provides<br />

this<br />

utility.<br />

This<br />

utility<br />

generates<br />

a<br />

symmetric<br />

key<br />

that<br />

encrypts<br />

and<br />

decrypts<br />

the<br />

data<br />

in<br />

the<br />

cookie.<br />

Attention:<br />

If<br />

you<br />

do<br />

not<br />

configure<br />

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

to<br />

encrypt<br />

failover<br />

authentication<br />

cookies,<br />

and<br />

you<br />

have<br />

enabled<br />

failover<br />

authentication,<br />

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

will<br />

generate<br />

an<br />

error<br />

and<br />

refuse<br />

to<br />

start.<br />

Failover<br />

authentication<br />

cookies<br />

must<br />

be<br />

encrypted.<br />

1.<br />

Run<br />

the<br />

utility<br />

on<br />

one<br />

of<br />

the<br />

replicated<br />

servers.<br />

From<br />

a<br />

command<br />

line,<br />

specify<br />

the<br />

location<br />

of<br />

the<br />

key<br />

file<br />

you<br />

want<br />

to<br />

create.<br />

You<br />

must<br />

specify<br />

an<br />

absolute<br />

path<br />

name.<br />

For<br />

example:<br />

UNIX:<br />

/opt/pdweb/bin/cdsso_key_gen<br />

absolute_pathname_<strong>for</strong>_keyfile<br />

Windows:<br />

C:\Program<br />

Files\<strong>Tivoli</strong>\PDWeb\bin\cdsso_key_gen<br />

absolute_pathname_<strong>for</strong>_keyfile<br />

You<br />

can<br />

give<br />

the<br />

key<br />

file<br />

any<br />

appropriate<br />

name,<br />

such<br />

as<br />

/opt/pdweb/lib/ws.key.<br />

2.<br />

Edit<br />

the<br />

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

configuration<br />

file.<br />

In<br />

the<br />

[failover]<br />

stanza,<br />

specify<br />

the<br />

keyfile<br />

location.<br />

[failover]<br />

failover-cookies-keyfile<br />

=<br />

absolute_pathname_<strong>for</strong>_keyfile<br />

3.<br />

Manually<br />

copy<br />

the<br />

key<br />

file<br />

to<br />

each<br />

of<br />

the<br />

remaining<br />

replicated<br />

servers.<br />

4.<br />

On<br />

each<br />

replicated<br />

server,<br />

edit<br />

the<br />

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

configuration<br />

file<br />

to<br />

supply<br />

the<br />

correct<br />

path<br />

name<br />

to<br />

failover-cookies-keyfile<br />

in<br />

the<br />

[failover]<br />

stanza.<br />

Specify<br />

the<br />

cookie<br />

lifetime<br />

Edit<br />

the<br />

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

configuration<br />

file.<br />

Specify<br />

the<br />

valid<br />

lifetime<br />

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

the<br />

failover<br />

cookie.<br />

[failover]<br />

failover-cookie-lifetime<br />

=<br />

60<br />

The<br />

default<br />

lifetime<br />

is<br />

60<br />

minutes.<br />

Specify<br />

UTF-8<br />

encoding<br />

on<br />

cookie<br />

strings<br />

Edit<br />

the<br />

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

configuration<br />

file.<br />

Specify<br />

whether<br />

or<br />

not<br />

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

should<br />

use<br />

UTF-8<br />

encoding<br />

on<br />

strings<br />

within<br />

the<br />

failover<br />

cookies.<br />

[failover]<br />

use-utf8<br />

=<br />

yes<br />

The<br />

default<br />

value<br />

is<br />

yes.<br />

UTF-8<br />

should<br />

be<br />

used<br />

when<br />

user<br />

names<br />

or<br />

credential<br />

attributes<br />

in<br />

the<br />

cookie<br />

are<br />

not<br />

encoded<br />

in<br />

the<br />

same<br />

code<br />

page<br />

as<br />

the<br />

one<br />

that<br />

the<br />

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

server<br />

is<br />

using.<br />

By<br />

default,<br />

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

servers<br />

use<br />

UTF-8<br />

encoding.<br />

When<br />

all<br />

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

servers<br />

in<br />

the<br />

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

deployment<br />

use<br />

UTF-8<br />

encoding,<br />

leave<br />

this<br />

value<br />

at<br />

the<br />

default<br />

setting<br />

of<br />

yes.<br />

Chapter<br />

6.<br />

Authentication<br />

175

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

Saved successfully!

Ooh no, something went wrong!