the static user mapping
a promise that resolves to the created static user mapping
Delete the static user mapping of a subject. Fails if there is none. Other mappings are not touched.
the subject
a promise that resolves to the deleted static user mapping
Make sure a subject has a static user mapping with at least the given roles,
and change nothing that is there already: a missing mapping is created, the
roles of an existing one are merged (never removed), other properties of an
existing mapping are kept, and nothing is written when there is nothing to
add. An existing mapping that names another local user (or another
userRoles) is not changed: that would point the subject at a different
identity, so the call fails, and updateStaticUserMapping is the explicit way.
the static user mapping to ensure
a promise that resolves to the resulting mapping and what was done
Read the static user mapping of a subject. Fails if there is none.
the subject (the sub of the access token, e.g. an OAuth2 client id)
a promise that resolves to a static user mapping
Read all static user mappings of the IDM authentication configuration
a promise that resolves to an array of static user mappings (empty if there are none)
Update or create the static user mapping of a subject. An existing mapping of the subject is replaced as given.
the static user mapping
a promise that resolves to the written static user mapping
Create the static user mapping of a subject. Fails if the subject has one already.