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.

[loginpage1]<br />

login-page<br />

=<br />

/cgi-bin/getloginpage*<br />

login-<strong>for</strong>m-action<br />

=<br />

*<br />

gso-resource<br />

=<br />

argument-stanza<br />

=<br />

<strong>for</strong>m1-data<br />

About<br />

the<br />

login-page<br />

parameter:<br />

The<br />

value<br />

of<br />

the<br />

login-page<br />

parameter<br />

is<br />

a<br />

regular<br />

expression<br />

that<br />

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

uses<br />

to<br />

determine<br />

if<br />

an<br />

incoming<br />

request<br />

is<br />

actually<br />

a<br />

request<br />

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

a<br />

login<br />

page.<br />

If<br />

this<br />

is<br />

the<br />

case,<br />

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

intercepts<br />

this<br />

request<br />

and<br />

begins<br />

the<br />

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

single<br />

sign-on<br />

processing.<br />

Only<br />

one<br />

login-page<br />

parameter<br />

is<br />

allowed<br />

in<br />

each<br />

custom<br />

login<br />

page<br />

stanza.<br />

You<br />

must<br />

create<br />

an<br />

additional<br />

custom<br />

login<br />

page<br />

stanza<br />

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

each<br />

additional<br />

login-page<br />

parameter.<br />

The<br />

login-page<br />

regular<br />

expression<br />

is<br />

compared<br />

against<br />

the<br />

request<br />

URI,<br />

relative<br />

to<br />

the<br />

junction.<br />

In<br />

the<br />

following<br />

example,<br />

the<br />

URI<br />

of<br />

a<br />

request<br />

to<br />

a<br />

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

server<br />

called<br />

″websealA″<br />

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

a<br />

resource<br />

on<br />

a<br />

junction<br />

called<br />

″junctionX″<br />

might<br />

appear<br />

as<br />

follows:<br />

https://websealA.ibm.com/junctionX/auth/login.html<br />

The<br />

part<br />

of<br />

this<br />

URL<br />

that<br />

is<br />

compared<br />

to<br />

the<br />

login-page<br />

regular<br />

expression<br />

is:<br />

/auth/login.html<br />

About<br />

the<br />

login-<strong>for</strong>m-action<br />

parameter:<br />

The<br />

login-<strong>for</strong>m-action<br />

parameter<br />

is<br />

used<br />

to<br />

identify<br />

the<br />

login<br />

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

on<br />

the<br />

intercepted<br />

page.<br />

Only<br />

one<br />

login-<strong>for</strong>m-action<br />

parameter<br />

is<br />

allowed<br />

in<br />

each<br />

stanza.<br />

The<br />

value<br />

of<br />

the<br />

login-<strong>for</strong>m-action<br />

parameter<br />

is<br />

a<br />

regular<br />

expression<br />

that<br />

is<br />

compared<br />

against<br />

the<br />

contents<br />

of<br />

the<br />

″action″<br />

attribute<br />

of<br />

the<br />

HTML<br />

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

tag.<br />

The<br />

″action″<br />

attribute<br />

is<br />

a<br />

URI<br />

expressed<br />

as<br />

a<br />

relative,<br />

server-relative,<br />

or<br />

absolute<br />

path.<br />

The<br />

login-<strong>for</strong>m-action<br />

parameter<br />

must<br />

match<br />

this<br />

path<br />

as<br />

it<br />

comes<br />

from<br />

the<br />

back-end<br />

server<br />

-<br />

even<br />

if<br />

it<br />

would<br />

normally<br />

be<br />

modified<br />

by<br />

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

be<strong>for</strong>e<br />

being<br />

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

to<br />

the<br />

client.<br />

If<br />

multiple<br />

″action″<br />

attributes<br />

on<br />

the<br />

page<br />

match<br />

the<br />

regular<br />

expression,<br />

only<br />

the<br />

first<br />

match<br />

is<br />

accepted<br />

as<br />

the<br />

login<br />

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

If<br />

the<br />

regular<br />

expression<br />

does<br />

not<br />

match<br />

any<br />

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

on<br />

the<br />

page,<br />

an<br />

error<br />

is<br />

returned<br />

to<br />

the<br />

browser<br />

reporting<br />

that<br />

the<br />

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

could<br />

not<br />

be<br />

found.<br />

You<br />

can<br />

set<br />

login-<strong>for</strong>m-action<br />

=<br />

*<br />

as<br />

a<br />

simple<br />

way<br />

to<br />

match<br />

the<br />

login<br />

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

when<br />

the<br />

page<br />

includes<br />

only<br />

one<br />

login<br />

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

Using<br />

regular<br />

expressions<br />

The<br />

following<br />

table<br />

lists<br />

the<br />

special<br />

characters<br />

allowed<br />

in<br />

regular<br />

expressions<br />

used<br />

in<br />

the<br />

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

single<br />

sign-on<br />

configuration<br />

file.<br />

*<br />

Matches<br />

zero<br />

or<br />

more<br />

characters<br />

?<br />

Matches<br />

any<br />

one<br />

character<br />

\<br />

Escape<br />

character<br />

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

example,<br />

\?<br />

matches<br />

?)<br />

[acd]<br />

Matches<br />

character<br />

a,<br />

c,<br />

or<br />

d<br />

(case-sensitive)<br />

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