Search

6.3. <mapping>

download PDF
<mapping>
This element contains <mapping-module> elements that are used to define the parameters of the mapping-module elements
When multiple <mapping-module> elements are present, they form a collective group of requirements that must be met before mapping can succeed. This collective group is called a stack.
<mapping-module>
This element uses the code attribute to specify what mapping module implementation an application can use, and the flag attribute to tell the application how to parse each mapping module present in the policy stack. The flag attribute supports the following values:
required
The module must succeed for mapping to be successful. If any required <mapping-module> fails, the authentication will fail. The remaining modules in the stack are called regardless of the outcome of the authentication.
requisite
The module is required to succeed. If it succeeds, mapping continues down the stack. If the module fails, control immediately returns to the application.
sufficient
The module is not required to succeed. If it does succeed, control immediately returns to the application. If the module fails, mapping continues down the stack.
optional
The module is not required to succeed. Authentication still continues to proceed down the stack regardless of whether the module succeeds or fails.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.