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.

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

attempts<br />

to<br />

distinguish<br />

between<br />

UTF-8<br />

and<br />

other<br />

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

of<br />

language<br />

character<br />

encoding.<br />

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

correctly<br />

processes<br />

any<br />

correctly<br />

constructed<br />

UTF-8<br />

encoding.<br />

If<br />

the<br />

encoding<br />

does<br />

not<br />

appear<br />

to<br />

be<br />

UTF-8,<br />

then<br />

the<br />

coding<br />

is<br />

processed<br />

as<br />

DBCS<br />

or<br />

Unicode.<br />

If<br />

a<br />

URL<br />

has<br />

Unicode<br />

in<br />

the<br />

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

″%uHHHH″,<br />

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

converts<br />

it<br />

to<br />

UTF-8.<br />

The<br />

rest<br />

of<br />

the<br />

decoding<br />

proceeds<br />

as<br />

if<br />

the<br />

configuration<br />

settings<br />

was<br />

yes.<br />

IF<br />

the<br />

double-byte-encoding<br />

option<br />

in<br />

the<br />

[server]<br />

stanza<br />

is<br />

set<br />

to<br />

yes,<br />

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

converts<br />

%HH%HH<br />

to<br />

UTF-8.<br />

Servers<br />

running<br />

in<br />

a<br />

single-byte<br />

Latin<br />

locale<br />

that<br />

need<br />

to<br />

process<br />

multi-byte<br />

strings<br />

should<br />

use<br />

the<br />

auto<br />

setting.<br />

Servers<br />

running<br />

in<br />

a<br />

multi-byte<br />

locale<br />

but<br />

just<br />

need<br />

to<br />

support<br />

one<br />

language<br />

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

example,<br />

Japanese)<br />

can<br />

use<br />

the<br />

auto<br />

setting.<br />

A<br />

recommended<br />

deployment<br />

strategy<br />

is<br />

as<br />

follows:<br />

1.<br />

Unless<br />

required<br />

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

content<br />

purposes,<br />

immediately<br />

check<br />

and<br />

set<br />

the<br />

default-webseal<br />

ACL<br />

on<br />

existing<br />

production<br />

deployments<br />

to<br />

NOT<br />

allow<br />

unauthenticated<br />

″r″<br />

access.<br />

This<br />

limits<br />

security<br />

exposure<br />

to<br />

users<br />

who<br />

do<br />

have<br />

a<br />

valid<br />

account<br />

within<br />

the<br />

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

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

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

domain.<br />

2.<br />

Ensure<br />

that<br />

the<br />

utf8-url-support-enabled<br />

parameter<br />

is<br />

set<br />

to<br />

the<br />

default<br />

value<br />

of<br />

yes.<br />

3.<br />

Test<br />

your<br />

applications.<br />

If<br />

they<br />

function<br />

correctly,<br />

use<br />

this<br />

setting.<br />

4.<br />

If<br />

any<br />

applications<br />

fail<br />

with<br />

″Bad<br />

Request″<br />

errors,<br />

retry<br />

the<br />

application<br />

with<br />

the<br />

utf8-url-support-enabled<br />

parameter<br />

set<br />

to<br />

no<br />

If<br />

this<br />

works,<br />

you<br />

may<br />

deploy<br />

with<br />

this<br />

setting.<br />

Ensure,<br />

however,<br />

that<br />

no<br />

junctioned<br />

Web<br />

server<br />

is<br />

configured<br />

to<br />

accept<br />

UTF-8<br />

encoded<br />

URLs.<br />

5.<br />

If<br />

the<br />

application<br />

continues<br />

to<br />

have<br />

problems,<br />

try<br />

setting<br />

utf8-url-support-<br />

enabled<br />

to<br />

auto.<br />

UTF-8<br />

support<br />

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

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

The<br />

manner<br />

in<br />

which<br />

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

processes<br />

data<br />

from<br />

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

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

example,<br />

a<br />

login<br />

<strong>for</strong>m)<br />

can<br />

be<br />

specified<br />

in<br />

the<br />

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

configuration<br />

file:<br />

[server]<br />

utf8-<strong>for</strong>m-support-enabled<br />

=<br />

{yes|no|auto}<br />

The<br />

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

providing<br />

data<br />

to<br />

the<br />

server<br />

are<br />

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

that<br />

are<br />

part<br />

of<br />

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

such<br />

as<br />

login<br />

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

These<br />

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

all<br />

declare<br />

the<br />

character<br />

set<br />

to<br />

be<br />

UTF-8.<br />

Thus<br />

the<br />

default<br />

value<br />

is<br />

yes.<br />

If<br />

an<br />

administrator<br />

edits<br />

these<br />

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

and<br />

changes<br />

the<br />

character<br />

set<br />

to<br />

a<br />

non-UTF-8<br />

setting,<br />

such<br />

as<br />

a<br />

local<br />

code<br />

page,<br />

this<br />

configuration<br />

setting<br />

should<br />

be<br />

changed.<br />

If<br />

some<br />

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

use<br />

UTF-8<br />

and<br />

some<br />

use<br />

a<br />

local<br />

code<br />

page,<br />

use<br />

the<br />

auto<br />

value.<br />

If<br />

all<br />

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

are<br />

modified<br />

to<br />

use<br />

a<br />

non-UTF-8<br />

setting,<br />

use<br />

the<br />

no<br />

value.<br />

The<br />

three<br />

possible<br />

values<br />

are<br />

as<br />

follows:<br />

v<br />

yes<br />

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

only<br />

recognizes<br />

UTF-8<br />

encoding<br />

in<br />

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

and<br />

the<br />

data<br />

is<br />

used<br />

without<br />

modification.<br />

These<br />

UTF-8<br />

characters<br />

are<br />

then<br />

validated<br />

and<br />

taken<br />

into<br />

account<br />

when<br />

processing<br />

the<br />

data.<br />

Other<br />

encoding<br />

techniques<br />

are<br />

not<br />

accepted.<br />

When<br />

double-byte-encoding<br />

is<br />

set<br />

to<br />

yes,<br />

Unicode<br />

of<br />

the<br />

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

%HH%HH<br />

is<br />

supported.<br />

When<br />

a<br />

double-byte<br />

Unicode<br />

character<br />

is<br />

detected,<br />

the<br />

entire<br />

string<br />

must<br />

be<br />

double-byte<br />

encoded.<br />

This<br />

is<br />

the<br />

default<br />

value,<br />

and<br />

is<br />

recommended.<br />

v<br />

no<br />

Chapter<br />

2.<br />

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

server<br />

configuration<br />

49

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

Saved successfully!

Ooh no, something went wrong!