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.

3.<br />

Restart<br />

the<br />

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

server.<br />

Specify<br />

header<br />

types<br />

The<br />

HTTP<br />

header<br />

types<br />

that<br />

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

supports<br />

are<br />

specified<br />

in<br />

the<br />

[auth-headers]<br />

stanza<br />

of<br />

the<br />

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

configuration<br />

file.<br />

By<br />

default,<br />

the<br />

built-in<br />

shared<br />

library<br />

is<br />

hard-coded<br />

to<br />

support<br />

only<br />

Entrust<br />

Proxy<br />

header<br />

data.<br />

Thus<br />

the<br />

only<br />

configuration<br />

file<br />

entry<br />

is:<br />

[auth-headers]<br />

header<br />

=<br />

entrust-client<br />

You<br />

can<br />

modify<br />

the<br />

HTTP<br />

header<br />

authentication<br />

module<br />

library<br />

to<br />

support<br />

other<br />

header<br />

types.<br />

To<br />

do<br />

this,<br />

you<br />

must<br />

replace<br />

the<br />

existing<br />

library<br />

with<br />

your<br />

own<br />

implementation<br />

of<br />

it.<br />

For<br />

more<br />

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

on<br />

writing<br />

your<br />

own<br />

authentication<br />

modules,<br />

see<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 />

Web<br />

Security<br />

Developer<br />

Reference.<br />

When<br />

you<br />

write<br />

your<br />

own<br />

authentication<br />

module<br />

to<br />

support<br />

other<br />

header<br />

types,<br />

add<br />

an<br />

entry<br />

to<br />

the<br />

configuration<br />

file<br />

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

each<br />

additional<br />

supported<br />

type:<br />

[auth-headers]<br />

header<br />

=<br />

header_name<br />

Note:<br />

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

processes<br />

only<br />

the<br />

first<br />

header<br />

it<br />

finds<br />

in<br />

the<br />

user<br />

request<br />

that<br />

matches<br />

any<br />

one<br />

of<br />

the<br />

values<br />

configured<br />

in<br />

the<br />

[auth-headers]<br />

stanza.<br />

The<br />

HTTP<br />

header<br />

authentication<br />

mechanism<br />

is<br />

not<br />

designed<br />

to<br />

handle<br />

more<br />

than<br />

one<br />

HTTP<br />

header<br />

in<br />

a<br />

request.<br />

Specify<br />

the<br />

HTTP<br />

header<br />

authentication<br />

mechanism<br />

To<br />

specify<br />

a<br />

HTTP<br />

header<br />

authentication<br />

mechanism,<br />

complete<br />

the<br />

following<br />

steps:<br />

1.<br />

Verify<br />

that<br />

HTTP<br />

header<br />

authentication<br />

is<br />

enabled.<br />

See<br />

“Enable<br />

HTTP<br />

header<br />

authentication”<br />

on<br />

page<br />

156.<br />

2.<br />

Edit<br />

the<br />

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

configuration<br />

file.<br />

In<br />

the<br />

[authentication-mechanisms]<br />

stanza,<br />

specify<br />

the<br />

appropriate<br />

HTTP<br />

header<br />

authentication<br />

built-in<br />

shared<br />

library<br />

as<br />

the<br />

value<br />

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

the<br />

http-request<br />

key:<br />

Table<br />

27.<br />

HTTP<br />

header<br />

authentication<br />

shared<br />

libraries<br />

Operating<br />

system<br />

Shared<br />

library<br />

Solaris<br />

libhttpauthn.so<br />

AIX<br />

libhttpauthn.a<br />

HPUX<br />

libhttpauthn.sl<br />

Linux<br />

libhttpauthn.so<br />

Windows<br />

httpauthn.dll<br />

For<br />

example,<br />

on<br />

a<br />

Solaris<br />

system:<br />

[authentication-mechanisms]<br />

http-request<br />

=<br />

libhttpauthn.so<br />

3.<br />

By<br />

default,<br />

authentication<br />

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

provided<br />

within<br />

the<br />

HTTP<br />

header<br />

is<br />

assumed<br />

to<br />

be<br />

encoded<br />

in<br />

the<br />

local<br />

code<br />

page.<br />

To<br />

specify<br />

that<br />

the<br />

HTTP<br />

header<br />

is<br />

encoded<br />

in<br />

UTF-8,<br />

add<br />

an<br />

option<br />

to<br />

the<br />

authentication<br />

mechanism<br />

declaration.<br />

For<br />

example,<br />

on<br />

a<br />

Solaris<br />

system:<br />

[authentication-mechanisms]<br />

http-request<br />

=<br />

libhttpauthn.so<br />

&<br />

utf8<br />

Chapter<br />

6.<br />

Authentication<br />

157

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

Saved successfully!

Ooh no, something went wrong!