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.

Building<br />

a<br />

custom<br />

personalization<br />

service<br />

A<br />

Web<br />

portal,<br />

or<br />

launch<br />

page,<br />

is<br />

an<br />

integrated<br />

Web<br />

site<br />

service<br />

that<br />

dynamically<br />

produces<br />

a<br />

customized<br />

list<br />

of<br />

Web<br />

resources<br />

available<br />

to<br />

a<br />

specific<br />

user.<br />

Resources<br />

can<br />

include<br />

corporate<br />

content,<br />

support<br />

services,<br />

and<br />

learning<br />

tools.<br />

The<br />

portal<br />

output<br />

represents<br />

a<br />

personalized<br />

list<br />

of<br />

resources<br />

based<br />

on<br />

the<br />

access<br />

permissions<br />

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

the<br />

particular<br />

user.<br />

The<br />

launch<br />

page<br />

displays<br />

only<br />

those<br />

resources<br />

that<br />

have<br />

the<br />

correct<br />

access<br />

permissions<br />

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

that<br />

user.<br />

You<br />

can<br />

use<br />

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

configuration<br />

options<br />

and<br />

the<br />

authorization<br />

API<br />

entitlements<br />

service<br />

to<br />

build<br />

a<br />

custom<br />

portal<br />

solution<br />

in<br />

a<br />

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

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

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

environment.<br />

The<br />

process<br />

flow<br />

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

building<br />

a<br />

custom<br />

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

portal<br />

service<br />

includes<br />

the<br />

following<br />

tasks:<br />

1.<br />

Secure<br />

policies<br />

are<br />

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

and<br />

attached<br />

at<br />

the<br />

appropriate<br />

points<br />

in<br />

the<br />

protected<br />

object<br />

resource.<br />

2.<br />

Appropriate<br />

explicit<br />

ACLs<br />

are<br />

attached<br />

to<br />

each<br />

of<br />

these<br />

resource<br />

objects.<br />

3.<br />

The<br />

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

configuration<br />

file<br />

is<br />

edited<br />

to<br />

include<br />

the<br />

URL<br />

to<br />

the<br />

portal<br />

service,<br />

the<br />

path<br />

of<br />

the<br />

object<br />

space<br />

containing<br />

the<br />

portal<br />

resources,<br />

and<br />

the<br />

permission<br />

bit<br />

required<br />

by<br />

the<br />

user<br />

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

access<br />

to<br />

these<br />

resources.<br />

4.<br />

For<br />

each<br />

user<br />

request<br />

to<br />

the<br />

portal<br />

URL,<br />

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

uses<br />

the<br />

Authorization<br />

Entitlement<br />

Service<br />

to<br />

search<br />

this<br />

object<br />

space<br />

and<br />

produce<br />

a<br />

list<br />

of<br />

resources<br />

that<br />

meet<br />

the<br />

authorization<br />

conditions<br />

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

that<br />

user.<br />

5.<br />

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

places<br />

this<br />

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

in<br />

a<br />

PD_PORTAL<br />

HTTP<br />

header<br />

that<br />

is<br />

sent<br />

to<br />

the<br />

back-end<br />

(junctioned)<br />

portal<br />

server.<br />

6.<br />

The<br />

custom<br />

portal<br />

service<br />

(such<br />

as<br />

a<br />

CGI<br />

or<br />

servlet)<br />

located<br />

on<br />

the<br />

back-end<br />

server<br />

reads<br />

the<br />

PD_PORTAL<br />

header<br />

contents<br />

and,<br />

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

example,<br />

maps<br />

the<br />

contents<br />

to<br />

descriptions<br />

and<br />

URL<br />

links<br />

that<br />

are<br />

displayed<br />

to<br />

the<br />

user<br />

on<br />

a<br />

Web<br />

page.<br />

This<br />

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

represents<br />

the<br />

personalized<br />

list<br />

of<br />

resources<br />

available<br />

to<br />

the<br />

user<br />

based<br />

on<br />

access<br />

control<br />

permissions.<br />

Configuring<br />

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

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

a<br />

personalization<br />

service<br />

1.<br />

Create<br />

a<br />

new<br />

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

junction<br />

to<br />

the<br />

personalization<br />

service.<br />

For<br />

example:<br />

pdadmin><br />

server<br />

task<br />

server_name<br />

create<br />

-t<br />

tcp<br />

-h<br />

portalhost.abc.com<br />

\<br />

/portal-jct<br />

2.<br />

Edit<br />

the<br />

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

configuration<br />

file<br />

to<br />

add<br />

a<br />

new<br />

[portal-map]<br />

stanza:<br />

[portal-map]<br />

3.<br />

The<br />

entry<br />

in<br />

this<br />

stanza<br />

identifies<br />

the<br />

server-relative<br />

URL<br />

of<br />

the<br />

portal<br />

service<br />

program<br />

and<br />

the<br />

region<br />

of<br />

the<br />

object<br />

space<br />

that<br />

is<br />

searched<br />

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

available<br />

protected<br />

portal<br />

resources,<br />

followed<br />

by<br />

the<br />

permission<br />

required<br />

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

access.<br />

This<br />

is<br />

the<br />

list<br />

that<br />

is<br />

placed<br />

in<br />

the<br />

PD_PORTAL<br />

header.<br />

[portal-map]<br />

URL<br />

=<br />

object_space_region:permission<br />

4.<br />

After<br />

adding<br />

the<br />

stanza<br />

and<br />

the<br />

appropriate<br />

mapping<br />

entries,<br />

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

(webseald)<br />

must<br />

be<br />

re-started.<br />

Personalization<br />

service<br />

example<br />

v<br />

Create<br />

a<br />

junction<br />

to<br />

the<br />

portal<br />

server:<br />

pdadmin><br />

server<br />

task<br />

web1-webseald-cruz<br />

-t<br />

ssl<br />

-h<br />

PORTAL1<br />

/portal<br />

v<br />

Define<br />

the<br />

region<br />

of<br />

the<br />

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

protected<br />

object<br />

space<br />

that<br />

contains<br />

resources<br />

available<br />

to<br />

the<br />

personalization<br />

service:<br />

Chapter<br />

12.<br />

Application<br />

integration<br />

341

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

Saved successfully!

Ooh no, something went wrong!