Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Current File(s): conf/c14n/simple-subject-c14n-config.xml (V4.0), conf/c14n/subject-c14n.properties (V4.1+)
Format: Properties, Native Spring, Properties (V4.1+)

Table of Contents

Overview

...

This flow will succeed if and only if the input Java Subject contains exactly one UsernamePrincipal in its collection of Principals.

General Configuration

Expand
titleV4.0

Use conf/c14n/simple-subject-c14n-config.xml to configure this flow.

...

...

Use conf/c14n/subject-c14n.properties to configure this flow.

If your system is upgraded, you may continue to use conf/c14n/simple-subject-c14n-config.xml as before, or you may remove it, while ensuring the new properties are being loaded.

The regular expression replacement feature is the only one remaining that still requires XML and you may define that bean, if needed, in conf/c14n/subject-c14n.xml

By default, the only transform applied is a trim of leading or trailing whitespace. Case-folding and regular expression replacements can be added, per the reference section below.

Reference

...

titleBeans (V4.0)

The beans defined in conf/c14n/simple-subject-c14n-config.xml follow:

...

Bean ID

...

Type

...

Default

...

Description

...

shibboleth.c14n.simple.Lowercase

...

Boolean

...

false

...

Whether to lowercase the username

...

shibboleth.c14n.simple.Uppercase

...

Boolean

...

false

...

Whether to uppercase the username

...

shibboleth.c14n.simple.Trim

...

Boolean

...

true

...

Whether to trim leading and trailing whitespace from the username

...

shibboleth.c14n.simple.Transforms

...

Pair<String,String>

...

Expand
titleBeans (V4.1+)

The following bean may be defined in conf/subject-c14n.xml if needed:

Bean ID

Type

Description

shibboleth.c14n.simple.Transforms

Pair<String,String>

Pairs of regular expressions and replacement expressions to apply to the username

Expand
titleProperties (V4.1+)

The following properties are commented out by default in conf/c14n/subject-c14n.properties:

Name

Type

Default

Description

idp.c14n.simple.lowercase

Boolean

false

Whether to lowercase the username

idp.c14n.simple.uppercase

Boolean

false

Whether to uppercase the username

idp.c14n.simple.trim

Boolean

true

Whether to trim leading and trailing whitespace from the username

...