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.

″_UTF8″<br />

appended<br />

to<br />

the<br />

end.<br />

The<br />

values<br />

of<br />

these<br />

variables<br />

are<br />

URI<br />

(Uni<strong>for</strong>m<br />

Resource<br />

Indicator)<br />

encoded<br />

UTF-8<br />

strings.<br />

URI<br />

encoding<br />

is<br />

used<br />

to<br />

prevent<br />

data<br />

loss<br />

on<br />

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

which<br />

expect<br />

local<br />

code<br />

page<br />

environment<br />

variables<br />

in<br />

spawned<br />

processes.<br />

The<br />

variables<br />

are:<br />

v<br />

REMOTE_USER_UTF8<br />

v<br />

IV_USER_UTF8<br />

v<br />

HTTP_IV_USER_UTF8<br />

v<br />

IV_GROUPS_UTF8<br />

v<br />

HTTP_IV_GROUPS_UTF8<br />

New<br />

CGI<br />

programs<br />

should<br />

use<br />

these<br />

variables<br />

because<br />

their<br />

values<br />

contain<br />

UTF-8<br />

data.<br />

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

stores<br />

the<br />

data<br />

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

these<br />

variables<br />

internally<br />

in<br />

UTF-8<br />

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

The<br />

data<br />

must<br />

be<br />

converted<br />

to<br />

local<br />

code<br />

page<br />

in<br />

order<br />

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

CGI<br />

programs<br />

to<br />

use<br />

it.<br />

When<br />

the<br />

old<br />

CGI<br />

variables<br />

(<br />

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

example,<br />

REMOTE_USER)<br />

are<br />

used,<br />

and<br />

the<br />

local<br />

code<br />

page<br />

is<br />

not<br />

UTF-8<br />

encoded,<br />

the<br />

conversion<br />

of<br />

the<br />

UTF-8<br />

data<br />

to<br />

the<br />

local<br />

code<br />

page<br />

can,<br />

in<br />

some<br />

cases,<br />

result<br />

in<br />

data<br />

corruption.<br />

Windows:<br />

Supporting<br />

WIN32<br />

environment<br />

variables<br />

This<br />

section<br />

applies<br />

to<br />

local<br />

junctions<br />

only.<br />

Windows<br />

does<br />

not<br />

automatically<br />

make<br />

all<br />

of<br />

its<br />

system<br />

environment<br />

variables<br />

available<br />

to<br />

processes<br />

such<br />

as<br />

CGI<br />

applications.<br />

Typically,<br />

the<br />

system<br />

environment<br />

variables<br />

you<br />

require<br />

are<br />

present.<br />

However,<br />

if<br />

any<br />

Windows<br />

system<br />

environment<br />

variables<br />

that<br />

you<br />

require<br />

are<br />

not<br />

present<br />

in<br />

the<br />

CGI<br />

environment,<br />

you<br />

can<br />

explicitly<br />

make<br />

them<br />

available<br />

to<br />

CGI<br />

programs<br />

through<br />

the<br />

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

configuration<br />

file.<br />

(Note<br />

that<br />

the<br />

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

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

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

environment<br />

variables<br />

mentioned<br />

in<br />

the<br />

previous<br />

section<br />

are<br />

automatically<br />

available<br />

on<br />

all<br />

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

Add<br />

any<br />

of<br />

the<br />

required<br />

Windows<br />

system<br />

environment<br />

variables<br />

to<br />

the<br />

[cgi-environment-variables]<br />

stanza<br />

of<br />

the<br />

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

configuration<br />

file.<br />

Use<br />

the<br />

following<br />

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

ENV<br />

=<br />

variable_name<br />

For<br />

example:<br />

[cgi-environment-variables]<br />

#ENV<br />

=<br />

SystemDrive<br />

ENV<br />

=<br />

SystemRoot<br />

ENV<br />

=<br />

PATH<br />

ENV<br />

=<br />

LANG<br />

ENV<br />

=<br />

LC_ALL<br />

ENV<br />

=<br />

LC_CTYPE<br />

ENV<br />

=<br />

LC_MESSAGES<br />

ENV<br />

=<br />

LOCPATH<br />

ENV<br />

=<br />

NLSPATH<br />

Any<br />

uncommented<br />

lines<br />

are<br />

inherited<br />

by<br />

a<br />

CGI<br />

environment.<br />

Chapter<br />

12.<br />

Application<br />

integration<br />

337

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

Saved successfully!

Ooh no, something went wrong!