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.

Configuring<br />

single<br />

sign-on<br />

to<br />

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

WebSphere<br />

(LTPA)<br />

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

can<br />

provide<br />

authentication<br />

and<br />

authorization<br />

services<br />

and<br />

protection<br />

to<br />

an<br />

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

WebSphere<br />

environment.<br />

When<br />

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

is<br />

positioned<br />

as<br />

a<br />

protective<br />

front-end<br />

to<br />

WebSphere,<br />

accessing<br />

clients<br />

are<br />

faced<br />

with<br />

two<br />

potential<br />

login<br />

points.<br />

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

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

supports<br />

a<br />

single<br />

sign-on<br />

solution<br />

to<br />

one<br />

or<br />

more<br />

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

WebSphere<br />

servers<br />

across<br />

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

junctions.<br />

WebSphere<br />

provides<br />

the<br />

cookie-based<br />

lightweight<br />

third-party<br />

authentication<br />

mechanism<br />

(LTPA).<br />

You<br />

can<br />

configure<br />

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

junctions<br />

to<br />

support<br />

LTPA<br />

and<br />

provide<br />

a<br />

single<br />

sign-on<br />

solution<br />

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

clients.<br />

When<br />

a<br />

user<br />

makes<br />

a<br />

request<br />

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

a<br />

WebSphere<br />

resource,<br />

the<br />

user<br />

must<br />

first<br />

authenticate<br />

to<br />

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

After<br />

successful<br />

authentication,<br />

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

generates<br />

an<br />

LTPA<br />

cookie<br />

on<br />

behalf<br />

of<br />

the<br />

user.<br />

The<br />

LTPA<br />

cookie,<br />

which<br />

serves<br />

as<br />

an<br />

authentication<br />

token<br />

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

WebSphere,<br />

contains<br />

the<br />

user<br />

identity,<br />

key<br />

and<br />

token<br />

data,<br />

buffer<br />

length,<br />

and<br />

expiration<br />

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

This<br />

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

is<br />

encrypted<br />

using<br />

a<br />

password-protected<br />

secret<br />

key<br />

shared<br />

between<br />

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

and<br />

the<br />

WebSphere<br />

server.<br />

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

inserts<br />

the<br />

cookie<br />

in<br />

the<br />

HTTP<br />

header<br />

of<br />

the<br />

request<br />

that<br />

is<br />

sent<br />

across<br />

the<br />

junction<br />

to<br />

WebSphere.<br />

The<br />

back-end<br />

WebSphere<br />

server<br />

receives<br />

the<br />

request,<br />

decrypts<br />

the<br />

cookie,<br />

and<br />

authenticates<br />

the<br />

user<br />

based<br />

on<br />

the<br />

identity<br />

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

supplied<br />

in<br />

the<br />

cookie.<br />

To<br />

improve<br />

per<strong>for</strong>mance,<br />

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

can<br />

store<br />

the<br />

LTPA<br />

cookie<br />

in<br />

a<br />

cache<br />

and<br />

use<br />

the<br />

cached<br />

LTPA<br />

cookie<br />

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

subsequent<br />

requests<br />

during<br />

the<br />

same<br />

user<br />

session.<br />

You<br />

can<br />

configure<br />

lifetime<br />

timeout<br />

and<br />

idle<br />

(inactivity)<br />

timeout<br />

values<br />

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

the<br />

cached<br />

cookie.<br />

Configuring<br />

an<br />

LTPA<br />

junction<br />

Single<br />

sign-on<br />

to<br />

WebSphere<br />

via<br />

an<br />

LTPA<br />

cookie<br />

requires<br />

the<br />

following<br />

configuration<br />

tasks:<br />

1.<br />

Enable<br />

the<br />

LTPA<br />

mechanism.<br />

2.<br />

Provide<br />

the<br />

location<br />

of<br />

the<br />

key<br />

file<br />

used<br />

to<br />

encrypt<br />

the<br />

identity<br />

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

3.<br />

Provide<br />

the<br />

password<br />

to<br />

this<br />

key<br />

file.<br />

These<br />

three<br />

configuration<br />

requirements<br />

are<br />

specified<br />

in<br />

three<br />

additional<br />

options<br />

to<br />

the<br />

junction<br />

create<br />

command.<br />

v<br />

The<br />

–A<br />

option<br />

enables<br />

LTPA<br />

cookies.<br />

v<br />

The<br />

–F<br />

″keyfile″<br />

option<br />

and<br />

argument<br />

specifies<br />

the<br />

full<br />

path<br />

name<br />

location<br />

(on<br />

the<br />

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

server)<br />

of<br />

the<br />

key<br />

file<br />

used<br />

to<br />

encrypt<br />

the<br />

identity<br />

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

contained<br />

in<br />

the<br />

cookie.<br />

The<br />

shared<br />

key<br />

is<br />

originally<br />

created<br />

on<br />

the<br />

WebSphere<br />

server<br />

and<br />

copied<br />

securely<br />

to<br />

the<br />

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

server.<br />

Refer<br />

to<br />

the<br />

appropriate<br />

WebSphere<br />

documentation<br />

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

specific<br />

details<br />

regarding<br />

this<br />

task.<br />

v<br />

The<br />

–Z<br />

″keyfile-password″<br />

specifies<br />

the<br />

password<br />

required<br />

to<br />

open<br />

the<br />

key<br />

file.<br />

The<br />

password<br />

appears<br />

as<br />

encrypted<br />

text<br />

in<br />

the<br />

junction<br />

XML<br />

file.<br />

Use<br />

these<br />

options<br />

in<br />

addition<br />

to<br />

other<br />

required<br />

junction<br />

options<br />

when<br />

you<br />

create<br />

the<br />

junction<br />

between<br />

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

and<br />

the<br />

back-end<br />

WebSphere<br />

server.<br />

For<br />

example:<br />

create<br />

...<br />

-A<br />

-F<br />

"/abc/xyz/key.file"<br />

-Z<br />

"abcdefg"<br />

...<br />

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