2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								[[nsa-web]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								= Web Application Security
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-debug]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <debug>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Enables Spring Security debugging infrastructure.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This will provide human-readable (multi-line) debugging information to monitor requests coming into the security filters.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This may include sensitive information, such as request parameters or headers, and should only be used in a development environment.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <http>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If you use an `<http>` element within your application, a `FilterChainProxy` bean named "springSecurityFilterChain" is created and the configuration within the element is used to build a filter chain within
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								`FilterChainProxy`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								As of Spring Security 3.1, additional `http` elements can be used to add extra filter chains footnote:[See the pass:specialcharacters,macros[xref:servlet/configuration/xml-namespace.adoc#ns-web-xml[introductory chapter]] for how to set up the mapping from your `web.xml` ].
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Some core filters are always created in a filter chain and others will be added to the stack depending on the attributes and child elements which are present.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The positions of the standard filters are fixed (see
							 
						 
					
						
							
								
									
										
										
										
											2021-09-21 14:56:09 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								xref:servlet/configuration/xml-namespace.adoc#filter-stack[the filter order table] in the namespace introduction), removing a common source of errors with previous versions of the framework when users had to configure the filter chain explicitly in the
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								`FilterChainProxy` bean.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								You can, of course, still do this if you need full control of the configuration.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								All filters which require a reference to the xref:servlet/authentication/architecture.adoc#servlet-authentication-authenticationmanager[`AuthenticationManager`] will be automatically injected with the internal instance created by the namespace configuration.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Each `<http>` namespace block always creates an `SecurityContextPersistenceFilter`, an `ExceptionTranslationFilter` and a `FilterSecurityInterceptor`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								These are fixed and cannot be replaced with alternatives.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <http> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The attributes on the `<http>` element control some of the properties on the core filters.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-05-31 15:10:00 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-http-use-authorization-manager]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **use-authorization-manager**
							 
						 
					
						
							
								
									
										
										
										
											2022-10-05 19:49:53 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Use AuthorizationManager API instead of SecurityMetadataSource (defaults to true)
							 
						 
					
						
							
								
									
										
										
										
											2022-05-31 15:10:00 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-authorization-manager-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **access-decision-manager-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Use this AuthorizationManager instead of deriving one from <intercept-url> elements
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-access-decision-manager-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **access-decision-manager-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Optional attribute specifying the ID of the `AccessDecisionManager` implementation which should be used for authorizing HTTP requests.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								By default an `AffirmativeBased` implementation is used for with a `RoleVoter` and an `AuthenticatedVoter`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-authentication-manager-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-manager-ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								A reference to the `AuthenticationManager` used for the `FilterChain` created by this http element.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-10-04 15:34:16 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-http-observation-registry-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **observation-registry-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A reference to the `ObservationRegistry` used for the `FilterChain` and related components
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-auto-config]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **auto-config**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Automatically registers a login form, BASIC authentication, logout services.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If set to "true", all of these capabilities are added (although you can still customize the configuration of each by providing the respective element).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If unspecified, defaults to "false".
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Use of this attribute is not recommended.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Use explicit configuration elements instead to avoid confusion.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-create-session]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **create-session**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Controls the eagerness with which an HTTP session is created by Spring Security classes.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Options include:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								** `always` - Spring Security will proactively create a session if one does not exist.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `ifRequired` - Spring Security will only create a session only if one is required (default value).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `never` - Spring Security will never create a session, but will make use of one if the application does.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `stateless` - Spring Security will not create a session and ignore the session for obtaining a Spring `Authentication`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-disable-url-rewriting]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **disable-url-rewriting**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Prevents session IDs from being appended to URLs in the application.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Clients must use cookies if this attribute is set to `true`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The default is `true`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-entry-point-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **entry-point-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Normally the `AuthenticationEntryPoint` used will be set depending on which authentication mechanisms have been configured.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This attribute allows this behaviour to be overridden by defining a customized `AuthenticationEntryPoint` bean which will start the authentication process.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-jaas-api-provision]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **jaas-api-provision**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If available, runs the request as the `Subject` acquired from the `JaasAuthenticationToken` which is implemented by adding a `JaasApiIntegrationFilter` bean to the stack.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defaults to `false`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-name]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **name**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A bean identifier, used for referring to the bean elsewhere in the context.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-once-per-request]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **once-per-request**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Corresponds to the `observeOncePerRequest` property of `FilterSecurityInterceptor`.
							 
						 
					
						
							
								
									
										
										
										
											2022-07-12 09:04:39 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Defaults to `false`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-07-18 13:51:17 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-http-filter-all-dispatcher-types]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **filter-all-dispatcher-types**
							 
						 
					
						
							
								
									
										
										
										
											2022-10-07 11:46:20 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Corresponds to the `shouldFilterAllDispatcherTypes` property of the `AuthorizationFilter`. Does not work when `use-authorization-manager=false`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to `true`.
							 
						 
					
						
							
								
									
										
										
										
											2022-07-18 13:51:17 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								[[nsa-http-pattern]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **pattern**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defining a pattern for the <<nsa-http,http>> element controls the requests which will be filtered through the list of filters which it defines.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The interpretation is dependent on the configured <<nsa-http-request-matcher,request-matcher>>.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If no pattern is defined, all requests will be matched, so the most specific patterns should be declared first.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-realm]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **realm**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Sets the realm name used for basic authentication (if enabled).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Corresponds to the `realmName` property on `BasicAuthenticationEntryPoint`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-request-matcher]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **request-matcher**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defines the `RequestMatcher` strategy used in the `FilterChainProxy` and the beans created by the `intercept-url` to match incoming requests.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Options are currently `mvc`, `ant`, `regex` and `ciRegex`, for Spring MVC, ant, regular-expression and case-insensitive regular-expression respectively.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A separate instance is created for each <<nsa-intercept-url,intercept-url>> element using its <<nsa-intercept-url-pattern,pattern>>, <<nsa-intercept-url-method,method>> and <<nsa-intercept-url-servlet-path,servlet-path>> attributes.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Ant paths are matched using an `AntPathRequestMatcher`, regular expressions are matched using a `RegexRequestMatcher` and for Spring MVC path matching the `MvcRequestMatcher` is used.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								See the Javadoc for these classes for more details on exactly how the matching is performed.
							 
						 
					
						
							
								
									
										
										
										
											2022-10-04 13:29:39 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								MVC is the default strategy if Spring MVC is present in the classpath, if not, Ant paths are used.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-request-matcher-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **request-matcher-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A reference to a bean that implements `RequestMatcher` that will determine if this `FilterChain` should be used.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This is a more powerful alternative to <<nsa-http-pattern,pattern>>.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-security]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **security**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A request pattern can be mapped to an empty filter chain, by setting this attribute to `none`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								No security will be applied and none of Spring Security's features will be available.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-05-26 14:20:14 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-http-security-context-holder-strategy-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **security-context-repository-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Allows injection of a custom `SecurityContextHolderStrategy` into `SecurityContextPersistenceFilter`, `SecurityContextHolderFilter`, `BasicAuthenticationFilter`, `UsernamePasswordAuthenticationFilter`, `ExceptionTranslationFilter`, `LogoutFilter`, and others.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-02-18 15:14:34 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-http-security-context-explicit-save]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **security-context-explicit-save**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If true, use `SecurityContextHolderFilter` instead of `SecurityContextPersistenceFilter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Requires explicit save
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								[[nsa-http-security-context-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **security-context-repository-ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Allows injection of a custom `SecurityContextRepository` into the `SecurityContextPersistenceFilter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-servlet-api-provision]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **servlet-api-provision**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Provides versions of `HttpServletRequest` security methods such as `isUserInRole()` and `getPrincipal()` which are implemented by adding a `SecurityContextHolderAwareRequestFilter` bean to the stack.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to `true`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-use-expressions]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **use-expressions**
							 
						 
					
						
							
								
									
										
										
										
											2023-05-11 13:56:58 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Enables EL-expressions in the `access` attribute, as described in the chapter on xref:servlet/authorization/authorize-http-requests.adoc#authorization-expressions[expression-based access-control].
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The default value is true.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <http>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								* <<nsa-access-denied-handler,access-denied-handler>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-anonymous,anonymous>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-cors,cors>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-csrf,csrf>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-custom-filter,custom-filter>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-expression-handler,expression-handler>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-form-login,form-login>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http-basic,http-basic>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-intercept-url,intercept-url>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-jee,jee>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-logout,logout>>
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-oauth2-client,oauth2-client>>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-oauth2-login,oauth2-login>>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-oauth2-resource-server,oauth2-resource-server>>
							 
						 
					
						
							
								
									
										
										
										
											2020-06-12 18:00:51 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-password-management,password-management>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								* <<nsa-port-mappings,port-mappings>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-remember-me,remember-me>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-request-cache,request-cache>>
							 
						 
					
						
							
								
									
										
										
										
											2021-11-08 15:19:04 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-saml2-login,saml2-login>>
							 
						 
					
						
							
								
									
										
										
										
											2022-02-17 15:52:41 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-saml2-logout,saml2-logout>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								* <<nsa-session-management,session-management>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-x509,x509>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-access-denied-handler]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <access-denied-handler>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This element allows you to set the `errorPage` property for the default `AccessDeniedHandler` used by the `ExceptionTranslationFilter`, using the <<nsa-access-denied-handler-error-page,error-page>> attribute, or to supply your own implementation using the <<nsa-access-denied-handler-ref,ref>> attribute.
							 
						 
					
						
							
								
									
										
										
										
											2021-08-19 14:17:49 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This is discussed in more detail in the section on the xref:servlet/architecture.adoc#servlet-exceptiontranslationfilter[ExceptionTranslationFilter].
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-access-denied-handler-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <access-denied-handler>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-access-denied-handler-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <access-denied-handler> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-access-denied-handler-error-page]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **error-page**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The access denied page that an authenticated user will be redirected to if they request a page which they don't have the authority to access.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-access-denied-handler-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defines a reference to a Spring bean of type `AccessDeniedHandler`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cors]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <cors>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								This element allows for configuring a `CorsFilter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If no `CorsFilter` or `CorsConfigurationSource` is specified and Spring MVC is on the classpath, a `HandlerMappingIntrospector` is used as the `CorsConfigurationSource`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cors-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <cors> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The attributes on the `<cors>` element control the headers element.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cors-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Optional attribute that specifies the bean name of a `CorsFilter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cors-configuration-source-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **cors-configuration-source-ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Optional attribute that specifies the bean name of a `CorsConfigurationSource` to be injected into a `CorsFilter` created by the XML namespace.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cors-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <cors>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-headers]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <headers>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This element allows for configuring additional (security) headers to be send with the response.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								It enables easy configuration for several headers and also allows for setting custom headers through the <<nsa-header,header>> element.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Additional information, can be found in the xref:features/exploits/headers.adoc#headers[Security Headers] section of the reference.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `Cache-Control`, `Pragma`, and `Expires` - Can be set using the <<nsa-cache-control,cache-control>> element.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This ensures that the browser does not cache your secured pages.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `Strict-Transport-Security` - Can be set using the <<nsa-hsts,hsts>> element.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This ensures that the browser automatically requests HTTPS for future requests.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `X-Frame-Options` - Can be set using the <<nsa-frame-options,frame-options>> element.
							 
						 
					
						
							
								
									
										
										
										
											2019-03-19 23:53:23 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The https://en.wikipedia.org/wiki/Clickjacking#X-Frame-Options[X-Frame-Options] header can be used to prevent clickjacking attacks.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								** `X-XSS-Protection` - Can be set using the <<nsa-xss-protection,xss-protection>> element.
							 
						 
					
						
							
								
									
										
										
										
											2019-03-19 23:53:23 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The https://en.wikipedia.org/wiki/Cross-site_scripting[X-XSS-Protection ] header can be used by browser to do basic control.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								** `X-Content-Type-Options` - Can be set using the <<nsa-content-type-options,content-type-options>> element.
							 
						 
					
						
							
								
									
										
										
										
											2019-03-19 23:53:23 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The https://blogs.msdn.com/b/ie/archive/2008/09/02/ie8-security-part-vi-beta-2-update.aspx[X-Content-Type-Options] header prevents Internet Explorer from MIME-sniffing a response away from the declared content-type.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								This also applies to Google Chrome, when downloading extensions.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `Public-Key-Pinning` or `Public-Key-Pinning-Report-Only` - Can be set using the <<nsa-hpkp,hpkp>> element.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This allows HTTPS websites to resist impersonation by attackers using mis-issued or otherwise fraudulent certificates.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `Content-Security-Policy` or `Content-Security-Policy-Report-Only` - Can be set using the <<nsa-content-security-policy,content-security-policy>> element.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								https://www.w3.org/TR/CSP2/[Content Security Policy (CSP)] is a mechanism that web applications can leverage to mitigate content injection vulnerabilities, such as cross-site scripting (XSS).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `Referrer-Policy` - Can be set using the <<nsa-referrer-policy,referrer-policy>> element, https://www.w3.org/TR/referrer-policy/[Referrer-Policy] is a mechanism that web applications can leverage to manage the referrer field, which contains the last page the user was on.
							 
						 
					
						
							
								
									
										
										
										
											2018-08-15 22:05:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								** `Feature-Policy` - Can be set using the <<nsa-feature-policy,feature-policy>> element, https://wicg.github.io/feature-policy/[Feature-Policy] is a mechanism that allows web developers to selectively enable, disable, and modify the behavior of certain APIs and web features in the browser.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								** `Cross-Origin-Opener-Policy` - Can be set using the <<nsa-cross-origin-opener-policy,cross-origin-opener-policy>> element, https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy[Cross-Origin-Opener-Policy] is a mechanism that allows you to ensure a top-level document does not share a browsing context group with cross-origin documents.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `Cross-Origin-Embedder-Policy` - Can be set using the <<nsa-cross-origin-embedder-policy,cross-origin-embedder-policy>> element, https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy[Cross-Origin-Embedder-Policy] is a mechanism that prevents a document from loading any cross-origin resources that don't explicitly grant the document permission.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `Cross-Origin-Resource-Policy` - Can be set using the <<nsa-cross-origin-resource-policy,cross-origin-resource-policy>> element, https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy[Cross-Origin-Resource-Policy] is a mechanism that conveys a desire that the browser blocks no-cors cross-origin/cross-site requests to the given resource.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-headers-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <headers> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The attributes on the `<headers>` element control the headers element.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-headers-defaults-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **defaults-disabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Optional attribute that specifies to disable the default Spring Security's HTTP response headers.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The default is false (the default headers are included).
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-headers-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **disabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Optional attribute that specifies to disable Spring Security's HTTP response headers.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The default is false (the headers are enabled).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-headers-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <headers>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-headers-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <headers>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-cache-control,cache-control>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-content-security-policy,content-security-policy>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-content-type-options,content-type-options>>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-cross-origin-embedder-policy,cross-origin-embedder-policy>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-cross-origin-opener-policy,cross-origin-opener-policy>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-cross-origin-resource-policy,cross-origin-resource-policy>>
							 
						 
					
						
							
								
									
										
										
										
											2018-08-15 22:05:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-feature-policy,feature-policy>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								* <<nsa-frame-options,frame-options>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-header,header>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-hpkp,hpkp>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-hsts,hsts>>
							 
						 
					
						
							
								
									
										
										
										
											2021-04-29 16:52:06 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-permissions-policy,permission-policy>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								* <<nsa-referrer-policy,referrer-policy>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-xss-protection,xss-protection>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								[[nsa-cache-control]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <cache-control>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds `Cache-Control`, `Pragma`, and `Expires` headers to ensure that the browser does not cache your secured pages.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cache-control-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <cache-control> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cache-control-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **disabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specifies if Cache Control should be disabled.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default false.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cache-control-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <cache-control>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hsts]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <hsts>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								When enabled adds the https://tools.ietf.org/html/rfc6797[Strict-Transport-Security] header to the response for any secure request.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This allows the server to instruct browsers to automatically use HTTPS for future requests.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hsts-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <hsts> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hsts-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **disabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specifies if Strict-Transport-Security should be disabled.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default false.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hsts-include-subdomains]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **include-sub-domains**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specifies if subdomains should be included.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default true.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hsts-max-age-seconds]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **max-age-seconds**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Specifies the maximum amount of time the host should be considered a Known HSTS Host.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default one year.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hsts-request-matcher-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **request-matcher-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The RequestMatcher instance to be used to determine if the header should be set.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default is if HttpServletRequest.isSecure() is true.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-12-21 21:59:54 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-hsts-preload]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **preload**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specifies if preload should be included.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default false.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hsts-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <hsts>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hpkp]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <hpkp>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								When enabled adds the https://tools.ietf.org/html/rfc7469[Public Key Pinning Extension for HTTP] header to the response for any secure request.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This allows HTTPS websites to resist impersonation by attackers using mis-issued or otherwise fraudulent certificates.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hpkp-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <hpkp> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hpkp-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **disabled**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Specifies if HTTP Public Key Pinning (HPKP) should be disabled.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Default true.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hpkp-include-subdomains]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **include-sub-domains**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specifies if subdomains should be included.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default false.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hpkp-max-age-seconds]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **max-age-seconds**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Sets the value for the max-age directive of the Public-Key-Pins header.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default 60 days.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hpkp-report-only]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **report-only**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specifies if the browser should only report pin validation failures.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default true.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hpkp-report-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **report-uri**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Specifies the URI to which the browser should report pin validation failures.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-hpkp-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <hpkp>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-pins]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <pins>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The list of pins
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-pins-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <pins>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-pin,pin>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-pin]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <pin>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								A pin is specified using the base64-encoded SPKI fingerprint as value and the cryptographic hash algorithm as attribute
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-pin-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <pin> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-pin-algorithm]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **algorithm**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The cryptographic hash algorithm.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Default is SHA256.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-pin-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <pin>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-pins,pins>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-security-policy]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <content-security-policy>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								When enabled adds the https://www.w3.org/TR/CSP2/[Content Security Policy (CSP)] header to the response.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								CSP is a mechanism that web applications can leverage to mitigate content injection vulnerabilities, such as cross-site scripting (XSS).
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-security-policy-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <content-security-policy> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-security-policy-policy-directives]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **policy-directives**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The security policy directive(s) for the Content-Security-Policy header or if report-only is set to true, then the Content-Security-Policy-Report-Only header is used.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-security-policy-report-only]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **report-only**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Set to true, to enable the Content-Security-Policy-Report-Only header for reporting policy violations only.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to false.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-security-policy-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <content-security-policy>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-referrer-policy]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <referrer-policy>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								When enabled adds the https://www.w3.org/TR/referrer-policy/[Referrer Policy] header to the response.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-referrer-policy-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <referrer-policy> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-referrer-policy-policy]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **policy**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The policy for the Referrer-Policy header.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default "no-referrer".
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-referrer-policy-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <referrer-policy>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-08-15 22:05:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-feature-policy]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <feature-policy>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								When enabled adds the https://wicg.github.io/feature-policy/[Feature Policy] header to the response.
							 
						 
					
						
							
								
									
										
										
										
											2018-08-15 22:05:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-feature-policy-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <feature-policy> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-08-15 22:05:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-feature-policy-policy-directives]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **policy-directives**
							 
						 
					
						
							
								
									
										
										
										
											2018-08-15 22:05:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The security policy directive(s) for the Feature-Policy header.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-feature-policy-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <feature-policy>
							 
						 
					
						
							
								
									
										
										
										
											2018-08-15 22:05:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
									
										
										
										
											2018-08-15 22:05:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								[[nsa-frame-options]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <frame-options>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								When enabled adds the https://tools.ietf.org/html/draft-ietf-websec-x-frame-options[X-Frame-Options header] to the response, this allows newer browsers to do some security checks and prevent https://en.wikipedia.org/wiki/Clickjacking[clickjacking] attacks.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-frame-options-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <frame-options> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-frame-options-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **disabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If disabled, the X-Frame-Options header will not be included.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default false.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-frame-options-policy]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **policy**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `DENY` The page cannot be displayed in a frame, regardless of the site attempting to do so.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This is the default when frame-options-policy is specified.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								** `SAMEORIGIN` The page can only be displayed in a frame on the same origin as the page itself
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								+
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								In other words, if you specify DENY, not only will attempts to load the page in a frame fail when loaded from other sites, attempts to do so will fail when loaded from the same site.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								On the other hand, if you specify SAMEORIGIN, you can still use the page in a frame as long as the site including it in a frame it is the same as the one serving the page.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-frame-options-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <frame-options>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-04-29 16:52:06 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-permissions-policy]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <permissions-policy>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds the https://w3c.github.io/webappsec-permissions-policy/[Permissions-Policy header] to the response.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-04-29 16:52:06 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-permissions-policy-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <permissions-policy> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2021-04-29 16:52:06 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-permissions-policy-policy]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **policy**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The policy value to write for the `Permissions-Policy` header
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-permissions-policy-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <permissions-policy>
							 
						 
					
						
							
								
									
										
										
										
											2021-04-29 16:52:06 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-xss-protection]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <xss-protection>
							 
						 
					
						
							
								
									
										
										
										
											2019-03-19 23:53:23 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds the https://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-iv-the-xss-filter.aspx[X-XSS-Protection header] to the response to assist in protecting against https://en.wikipedia.org/wiki/Cross-site_scripting#Non-Persistent[reflected / Type-1 Cross-Site Scripting (XSS)] attacks.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								This is in no-way a full protection to XSS attacks!
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-xss-protection-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <xss-protection> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-xss-protection-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **xss-protection-disabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Do not include the header for https://en.wikipedia.org/wiki/Cross-site_scripting#Non-Persistent[reflected / Type-1 Cross-Site Scripting (XSS)] protection.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-10-03 15:45:17 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-xss-protection-header-value]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **xss-protection-header-value**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Explicitly set the value for https://en.wikipedia.org/wiki/Cross-site_scripting#Non-Persistent[reflected / Type-1 Cross-Site Scripting (XSS)] header.
							 
						 
					
						
							
								
									
										
										
										
											2022-10-06 12:00:31 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								One of: "0", "1", "1; mode=block". Defaults to "0".
							 
						 
					
						
							
								
									
										
										
										
											2022-10-03 15:45:17 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-xss-protection-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <xss-protection>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-type-options]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <content-type-options>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Add the X-Content-Type-Options header with the value of nosniff to the response.
							 
						 
					
						
							
								
									
										
										
										
											2019-03-19 23:53:23 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This https://blogs.msdn.com/b/ie/archive/2008/09/02/ie8-security-part-vi-beta-2-update.aspx[disables MIME-sniffing] for IE8+ and Chrome extensions.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-type-options-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <content-type-options> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-type-options-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **disabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specifies if Content Type Options should be disabled.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default false.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-content-type-options-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <content-type-options>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-embedder-policy]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								==== <cross-origin-embedder-policy>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								When enabled adds the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy[Cross-Origin-Embedder-Policy] header to the response.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-embedder-policy-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								===== <cross-origin-embedder-policy> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-embedder-policy-policy]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **policy**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The policy for the `Cross-Origin-Embedder-Policy` header.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-embedder-policy-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								===== Parent Elements of <cross-origin-embedder-policy>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-opener-policy]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								==== <cross-origin-opener-policy>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								When enabled adds the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy[Cross-Origin-Opener-Policy] header to the response.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-opener-policy-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								===== <cross-origin-opener-policy> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-opener-policy-policy]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **policy**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The policy for the `Cross-Origin-Opener-Policy` header.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-opener-policy-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								===== Parent Elements of <cross-origin-opener-policy>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-resource-policy]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								==== <cross-origin-resource-policy>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								When enabled adds the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy[Cross-Origin-Resource-Policy] header to the response.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-resource-policy-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								===== <cross-origin-resource-policy> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-resource-policy-policy]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **policy**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The policy for the `Cross-Origin-Resource-Policy` header.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-cross-origin-resource-policy-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								===== Parent Elements of <cross-origin-resource-policy>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-03 16:47:21 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								[[nsa-header]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <header>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Add additional headers to the response, both the name and value need to be specified.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-header-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <header-attributes> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-header-name]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **header-name**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The `name` of the header.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-header-value]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **value**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The `value` of the header to add.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-header-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Reference to a custom implementation of the `HeaderWriter` interface.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-header-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <header>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-headers,headers>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-anonymous]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <anonymous>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds an `AnonymousAuthenticationFilter` to the stack and an `AnonymousAuthenticationProvider`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Required if you are using the `IS_AUTHENTICATED_ANONYMOUSLY` attribute.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-anonymous-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <anonymous>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-anonymous-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <anonymous> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-anonymous-enabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **enabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								With the default namespace setup, the anonymous "authentication" facility is automatically enabled.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								You can disable it using this property.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-anonymous-granted-authority]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **granted-authority**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The granted authority that should be assigned to the anonymous request.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Commonly this is used to assign the anonymous request particular roles, which can subsequently be used in authorization decisions.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If unset, defaults to `ROLE_ANONYMOUS`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-anonymous-key]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **key**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The key shared between the provider and filter.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								This generally does not need to be set.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If unset, it will default to a secure randomly generated value.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This means setting this value can improve startup time when using the anonymous functionality since secure random values can take a while to be generated.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-anonymous-username]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **username**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The username that should be assigned to the anonymous request.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This allows the principal to be identified, which may be important for logging and auditing.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								if unset, defaults to `anonymousUser`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-csrf]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <csrf>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This element will add https://en.wikipedia.org/wiki/Cross-site_request_forgery[Cross Site Request Forger (CSRF)] protection to the application.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								It also updates the default RequestCache to only replay "GET" requests upon successful authentication.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Additional information can be found in the xref:features/exploits/csrf.adoc#csrf[Cross Site Request Forgery (CSRF)] section of the reference.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-csrf-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <csrf>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-csrf-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <csrf> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-csrf-disabled]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **disabled**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Optional attribute that specifies to disable Spring Security's CSRF protection.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The default is false (CSRF protection is enabled).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								It is highly recommended to leave CSRF protection enabled.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-csrf-token-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **token-repository-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The CsrfTokenRepository to use.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The default is `HttpSessionCsrfTokenRepository`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-09-22 09:26:53 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-csrf-request-handler-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **request-handler-ref**
							 
						 
					
						
							
								
									
										
										
										
											2022-09-27 14:53:54 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The optional `CsrfTokenRequestHandler` to use. The default is `CsrfTokenRequestAttributeHandler`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-csrf-request-matcher-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **request-matcher-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The RequestMatcher instance to be used to determine if CSRF should be applied.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Default is any HTTP method except "GET", "TRACE", "HEAD", "OPTIONS".
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-custom-filter]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <custom-filter>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This element is used to add a filter to the filter chain.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								It doesn't create any additional beans but is used to select a bean of type `jakarta.servlet.Filter` which is already defined in the application context and add that at a particular position in the filter chain maintained by Spring Security.
							 
						 
					
						
							
								
									
										
										
										
											2021-09-21 14:56:09 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Full details can be found in the xref:servlet/configuration/xml-namespace.adoc#ns-custom-filters[ namespace chapter].
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-custom-filter-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <custom-filter>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-custom-filter-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <custom-filter> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-custom-filter-after]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **after**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The filter immediately after which the custom-filter should be placed in the chain.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This feature will only be needed by advanced users who wish to mix their own filters into the security filter chain and have some knowledge of the standard Spring Security filters.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The filter names map to specific Spring Security implementation filters.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-custom-filter-before]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **before**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The filter immediately before which the custom-filter should be placed in the chain
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-custom-filter-position]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **position**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The explicit position at which the custom-filter should be placed in the chain.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Use if you are replacing a standard filter.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-custom-filter-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defines a reference to a Spring bean that implements `Filter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-expression-handler]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <expression-handler>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Defines the `SecurityExpressionHandler` instance which will be used if expression-based access-control is enabled.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A default implementation (with no ACL support) will be used if not supplied.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-expression-handler-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <expression-handler>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* xref:servlet/appendix/namespace/method-security.adoc#nsa-global-method-security[global-method-security]
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* xref:servlet/appendix/namespace/method-security.adoc#nsa-method-security[method-security]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* xref:servlet/appendix/namespace/websocket.adoc#nsa-websocket-message-broker[websocket-message-broker]
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-expression-handler-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <expression-handler> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-expression-handler-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defines a reference to a Spring bean that implements `SecurityExpressionHandler`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <form-login>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Used to add an `UsernamePasswordAuthenticationFilter` to the filter stack and an `LoginUrlAuthenticationEntryPoint` to the application context to provide authentication on demand.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This will always take precedence over other namespace-created entry points.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If no attributes are supplied, a login page will be generated automatically at the URL "/login" footnote:[
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This feature is really just provided for convenience and is not intended for production (where a view technology will have been chosen and can be used to render a customized login page).
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 16:55:19 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The class `DefaultLoginPageGeneratingFilter` is responsible for rendering the login page and will provide login forms for both normal form login and/or OIDC if required.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								] The behaviour can be customized using the <<nsa-form-login-attributes, `<form-login>` Attributes>>.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <form-login>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <form-login> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-always-use-default-target]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **always-use-default-target**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If set to `true`, the user will always start at the value given by <<nsa-form-login-default-target-url,default-target-url>>, regardless of how they arrived at the login page.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Maps to the `alwaysUseDefaultTargetUrl` property of `UsernamePasswordAuthenticationFilter`.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Default value is `false`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-authentication-details-source-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-details-source-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to an `AuthenticationDetailsSource` which will be used by the authentication filter
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-authentication-failure-handler-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-failure-handler-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Can be used as an alternative to <<nsa-form-login-authentication-failure-url,authentication-failure-url>>, giving you full control over the navigation flow after an authentication failure.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The value should be the name of an `AuthenticationFailureHandler` bean in the application context.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-authentication-failure-url]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-failure-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Maps to the `authenticationFailureUrl` property of `UsernamePasswordAuthenticationFilter`.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Defines the URL the browser will be redirected to on login failure.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to `/login?error`, which will be automatically handled by the automatic login page generator, re-rendering the login page with an error message.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-authentication-success-handler-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-success-handler-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This can be used as an alternative to <<nsa-form-login-default-target-url,default-target-url>> and <<nsa-form-login-always-use-default-target,always-use-default-target>>, giving you full control over the navigation flow after a successful authentication.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The value should be the name of an `AuthenticationSuccessHandler` bean in the application context.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								By default, an implementation of `SavedRequestAwareAuthenticationSuccessHandler` is used and injected with the <<nsa-form-login-default-target-url,default-target-url >>.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-default-target-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **default-target-url**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Maps to the `defaultTargetUrl` property of `UsernamePasswordAuthenticationFilter`.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If not set, the default value is "/" (the application root).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A user will be taken to this URL after logging in, provided they were not asked to login while attempting to access a secured resource, when they will be taken to the originally requested URL.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-login-page]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **login-page**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The URL that should be used to render the login page.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Maps to the `loginFormUrl` property of the `LoginUrlAuthenticationEntryPoint`.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Defaults to "/login".
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-login-processing-url]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **login-processing-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Maps to the `filterProcessesUrl` property of `UsernamePasswordAuthenticationFilter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The default value is "/login".
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-password-parameter]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **password-parameter**
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The name of the request parameter which contains the password.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to "password".
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-username-parameter]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **username-parameter**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The name of the request parameter which contains the username.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to "username".
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-authentication-success-forward-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-success-forward-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Maps a `ForwardAuthenticationSuccessHandler` to `authenticationSuccessHandler` property of `UsernamePasswordAuthenticationFilter`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-form-login-authentication-failure-forward-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-failure-forward-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Maps a `ForwardAuthenticationFailureHandler` to `authenticationFailureHandler` property of `UsernamePasswordAuthenticationFilter`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <oauth2-login>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The xref:servlet/oauth2/login/index.adoc#oauth2login[OAuth 2.0 Login] feature configures authentication support using an OAuth 2.0 and/or OpenID Connect 1.0 Provider.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <oauth2-login>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-oauth2-login-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <oauth2-login> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-client-registration-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **client-registration-repository-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `ClientRegistrationRepository`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-authorized-client-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorized-client-repository-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2AuthorizedClientRepository`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-authorized-client-service-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorized-client-service-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2AuthorizedClientService`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-authorization-request-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorization-request-repository-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `AuthorizationRequestRepository`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-authorization-request-resolver-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorization-request-resolver-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2AuthorizationRequestResolver`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-06-17 09:42:50 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-oauth2-login-authorization-redirect-strategy-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authorization-redirect-strategy-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the authorization `RedirectStrategy`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-oauth2-login-access-token-response-client-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **access-token-response-client-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2AccessTokenResponseClient`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-user-authorities-mapper-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **user-authorities-mapper-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `GrantedAuthoritiesMapper`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-user-service-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **user-service-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2UserService`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-oidc-user-service-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **oidc-user-service-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the OpenID Connect `OAuth2UserService`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-login-processing-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **login-processing-url**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The URI where the filter processes authentication requests.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-login-page]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **login-page**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URI to send users to login.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-authentication-success-handler-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-success-handler-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `AuthenticationSuccessHandler`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-authentication-failure-handler-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-failure-handler-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `AuthenticationFailureHandler`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-login-jwt-decoder-factory-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **jwt-decoder-factory-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-11 04:20:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `JwtDecoderFactory` used by `OidcAuthorizationCodeAuthenticationProvider`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-24 22:10:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-oauth2-client]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <oauth2-client>
							 
						 
					
						
							
								
									
										
										
										
											2021-11-04 11:31:27 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Configures xref:servlet/oauth2/client/index.adoc#oauth2client[OAuth 2.0 Client] support.
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-client-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <oauth2-client>
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-client-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <oauth2-client> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-client-client-registration-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **client-registration-repository-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `ClientRegistrationRepository`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-client-authorized-client-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorized-client-repository-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2AuthorizedClientRepository`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-client-authorized-client-service-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorized-client-service-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2AuthorizedClientService`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-client-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <oauth2-client>
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-authorization-code-grant,authorization-code-grant>>
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-authorization-code-grant]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <authorization-code-grant>
							 
						 
					
						
							
								
									
										
										
										
											2021-11-04 11:31:27 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Configures xref:servlet/oauth2/client/authorization-grants.adoc#oauth2Client-auth-grant-support[OAuth 2.0 Authorization Code Grant].
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-authorization-code-grant-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <authorization-code-grant>
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-oauth2-client,oauth2-client>>
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-authorization-code-grant-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <authorization-code-grant> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-authorization-code-grant-authorization-request-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorization-request-repository-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `AuthorizationRequestRepository`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-06-17 09:42:50 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-authorization-code-grant-authorization-redirect-strategy-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authorization-redirect-strategy-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the authorization `RedirectStrategy`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-authorization-code-grant-authorization-request-resolver-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorization-request-resolver-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2AuthorizationRequestResolver`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-authorization-code-grant-access-token-response-client-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **access-token-response-client-ref**
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 13:22:51 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to the `OAuth2AccessTokenResponseClient`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-client-registrations]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <client-registrations>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								A container element for client(s) registered (xref:servlet/oauth2/client/index.adoc#oauth2Client-client-registration[ClientRegistration]) with an OAuth 2.0 or OpenID Connect 1.0 Provider.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registrations-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <client-registrations>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-client-registration,client-registration>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-provider,provider>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <client-registration>
							 
						 
					
						
							
								
									
										
										
										
											2020-02-19 20:58:20 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Represents a client registered with an OAuth 2.0 or OpenID Connect 1.0 Provider.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <client-registration>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-client-registrations,client-registrations>>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <client-registration> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-registration-id]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **registration-id**
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The ID that uniquely identifies the `ClientRegistration`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-client-id]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **client-id**
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The client identifier.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-client-secret]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **client-secret**
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The client secret.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-client-authentication-method]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **client-authentication-method**
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The method used to authenticate the Client with the Provider.
							 
						 
					
						
							
								
									
										
										
										
											2021-05-14 22:04:28 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The supported values are *client_secret_basic*, *client_secret_post*, *private_key_jwt*, *client_secret_jwt* and *none* https://tools.ietf.org/html/rfc6749#section-2.1[(public clients)].
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-authorization-grant-type]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorization-grant-type**
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The OAuth 2.0 Authorization Framework defines four https://tools.ietf.org/html/rfc6749#section-1.3[Authorization Grant] types.
							 
						 
					
						
							
								
									
										
										
										
											2021-05-14 10:17:20 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The supported values are `authorization_code`, `client_credentials`, `password`, as well as, extension grant type `urn:ietf:params:oauth:grant-type:jwt-bearer`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-redirect-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **redirect-uri**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The client's registered redirect URI that the _Authorization Server_ redirects the end-user's user-agent to after the end-user has authenticated and authorized access to the client.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-scope]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **scope**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The scope(s) requested by the client during the Authorization Request flow, such as openid, email, or profile.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-client-name]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **client-name**
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								A descriptive name used for the client.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The name may be used in certain scenarios, such as when displaying the name of the client in the auto-generated login page.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-client-registration-provider-id]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **provider-id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A reference to the associated provider. May reference a `<provider>` element or use one of the common providers (google, github, facebook, okta).
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-provider]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <provider>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The configuration information for an OAuth 2.0 or OpenID Connect 1.0 Provider.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-provider-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <provider>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-client-registrations,client-registrations>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-provider-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <provider> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-provider-provider-id]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **provider-id**
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The ID that uniquely identifies the provider.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-provider-authorization-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authorization-uri**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The Authorization Endpoint URI for the Authorization Server.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-provider-token-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **token-uri**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The Token Endpoint URI for the Authorization Server.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-03-02 14:13:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-provider-user-info-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **user-info-uri**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The UserInfo Endpoint URI used to access the claims/attributes of the authenticated end-user.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-03-02 14:13:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-provider-user-info-authentication-method]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **user-info-authentication-method**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The authentication method used when sending the access token to the UserInfo Endpoint.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The supported values are *header*, *form* and *query*.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-03-02 14:13:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-provider-user-info-user-name-attribute]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **user-info-user-name-attribute**
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The name of the attribute returned in the UserInfo Response that references the Name or Identifier of the end-user.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-03-02 14:13:59 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-provider-jwk-set-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **jwk-set-uri**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URI used to retrieve the https://tools.ietf.org/html/rfc7517[JSON Web Key (JWK)] Set from the Authorization Server, which contains the cryptographic key(s) used to verify the https://tools.ietf.org/html/rfc7515[JSON Web Signature (JWS)] of the ID Token and optionally the UserInfo Response.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-provider-issuer-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **issuer-uri**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URI used to initially configure a `ClientRegistration` using discovery of an OpenID Connect Provider's https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfig[Configuration endpoint] or an Authorization Server's https://tools.ietf.org/html/rfc8414#section-3[Metadata endpoint].
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-oauth2-resource-server]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <oauth2-resource-server>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds a `BearerTokenAuthenticationFilter`, `BearerTokenAuthenticationEntryPoint`, and `BearerTokenAccessDeniedHandler` to the configuration.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								In addition, either `<jwt>` or `<opaque-token>` must be specified.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-resource-server-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parents Elements of <oauth2-resource-server>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-resource-server-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <oauth2-resource-server>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-jwt,jwt>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-opaque-token,opaque-token>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-resource-server-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <oauth2-resource-server> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-resource-server-authentication-manager-resolver-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-manager-resolver-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to an `AuthenticationManagerResolver` which will resolve the `AuthenticationManager` at request time
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-resource-server-bearer-token-resolver-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **bearer-token-resolver-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to a `BearerTokenResolver` which will retrieve the bearer token from the request
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-oauth2-resource-server-entry-point-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **entry-point-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to a `AuthenticationEntryPoint` which will handle unauthorized requests
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jwt]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <jwt>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Represents an OAuth 2.0 Resource Server that will authorize JWTs
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jwt-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <jwt>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-oauth2-resource-server,oauth2-resource-server>>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jwt-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <jwt> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jwt-jwt-authentication-converter-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **jwt-authentication-converter-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to a `Converter<Jwt, AbstractAuthenticationToken>`
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jwt-decoder-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **jwt-decoder-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to a `JwtDecoder`. This is a larger component that overrides `jwk-set-uri`
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jwt-jwk-set-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **jwk-set-uri**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The JWK Set Uri used to load signing verification keys from an OAuth 2.0 Authorization Server
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-opaque-token]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <opaque-token>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Represents an OAuth 2.0 Resource Server that will authorize opaque tokens
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-opaque-token-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <opaque-token>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-oauth2-resource-server,oauth2-resource-server>>
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-opaque-token-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <opaque-token> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-opaque-token-introspector-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **introspector-ref**
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Reference to an `OpaqueTokenIntrospector`. This is a larger component that overrides `introspection-uri`, `client-id`, and `client-secret`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-opaque-token-introspection-uri]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **introspection-uri**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The Introspection Uri used to introspect the details of an opaque token. Should be accompanied with a `client-id` and `client-secret`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-opaque-token-client-id]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **client-id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The Client Id to use for client authentication against the provided `introspection-uri`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-30 09:18:29 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-opaque-token-client-secret]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **client-secret**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The Client Secret to use for client authentication against the provided `introspection-uri`.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 19:46:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-08-30 09:33:11 -10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-opaque-token-authentication-converter-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-converter-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to an `OpaqueTokenAuthenticationConverter`. Responsible for converting successful introspection result into an `Authentication` instance.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-11-08 15:19:04 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registrations]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <relying-party-registrations>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The container element for relying party(ies) registered (xref:servlet/saml2/login/overview.adoc#servlet-saml2login-relyingpartyregistration[ClientRegistration]) with a SAML 2.0 Identity Provider.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-04-18 12:52:26 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-relying-party-registrations-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <relying-party-registrations> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registrations-id]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The ID that uniquely identifies the `RelyingPartyRegistrationRepository`.
							 
						 
					
						
							
								
									
										
										
										
											2021-11-08 15:19:04 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registrations-children]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Child Elements of <relying-party-registrations>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-asserting-party,asserting-party>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-relying-party-registration,relying-party-registration>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <relying-party-registration>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Represents a relying party registered with a SAML 2.0 Identity Provider
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Parent Elements of <relying-party-registration>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-relying-party-registrations,relying-party-registrations>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <relying-party-registration> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-registration-id]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **registration-id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The ID that uniquely identifies the `RelyingPartyRegistration`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-metadata-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **metadata-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The asserting party metadata location.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-entity-id]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **client-id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The relying party's https://www.oasis-open.org/committees/download.php/51890/SAML%20MD%20simplified%20overview.pdf#2.9%20EntityDescriptor[EntityID].
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-assertion-consumer-service-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **assertion-consumer-service-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The AssertionConsumerService Location. Equivalent to the value found in `<AssertionConsumerService Location="..."/>` in the relying party's `<SPSSODescriptor>`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-assertion-consumer-service-binding]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **assertion-consumer-service-binding**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								the AssertionConsumerService Binding. Equivalent to the value found in `<AssertionConsumerService Binding="..."/>` in the relying party's `<SPSSODescriptor>`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The supported values are *POST* and *REDIRECT*.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-02-17 15:52:41 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-single-logout-service-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **single-logout-service-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The SingleLogoutService Location. Equivalent to the value found in <SingleLogoutService Location="..."/> in the relying party's <SPSSODescriptor>.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-single-logout-service-response-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **single-logout-service-response-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The SingleLogoutService ResponseLocation. Equivalent to the value found in <SingleLogoutService ResponseLocation="..."/> in the relying party's <SPSSODescriptor>.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-single-logout-service-binding]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **single-logout-service-binding**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The SingleLogoutService Binding. Equivalent to the value found in <SingleLogoutService Binding="..."/> in the relying party's <SPSSODescriptor>.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The supported values are *POST* and *REDIRECT*.
							 
						 
					
						
							
								
									
										
										
										
											2021-11-08 15:19:04 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-asserting-party-id]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **asserting-party-id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A reference to the associated asserting party. Must reference an `<asserting-party>` element.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-relying-party-registration-children]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Child Elements of <relying-party-registration>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-decryption-credential,decryption-credential>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-signing-credential,signing-credential>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-decryption-credential]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <decryption-credential>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The decryption credentials associated with the relying party.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-decryption-credential-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Parent Elements of <decryption-credential>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-relying-party-registration,relying-party-registration>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-decryption-credential-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <decryption-credential> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-decryption-credential-certificate-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **certificate-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The location to get the certificate
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-decryption-credential-private-key-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **private-key-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The location to get the Relying Party's private key
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-signing-credential]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <signing-credential>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The signing credentials associated with the relying party.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-signing-credential-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Parent Elements of <verification-credential>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-relying-party-registration,relying-party-registration>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-signing-credential-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <verification-credential> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-signing-credential-certificate-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **certificate-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The location to get this certificate
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-signing-credential-private-key-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **private-key-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The location to get the Relying Party's private key
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <asserting-party>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The configuration information for a SAML 2.0 Asserting Party.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Parent Elements of <asserting-party>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-relying-party-registrations,relying-party-registrations>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <asserting-party> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-asserting-party-id]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **asserting-party-id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The ID that uniquely identifies the asserting party.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-entity-id]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **entity-id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The EntityID of the Asserting Party
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-want-authn-requests-signed]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **want-authn-requests-signed**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The `WantAuthnRequestsSigned` setting, indicating the asserting party's preference that relying parties should sign the `AuthnRequest` before sending.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-single-sign-on-service-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **single-sign-on-service-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The https://www.oasis-open.org/committees/download.php/51890/SAML%20MD%20simplified%20overview.pdf#2.5%20Endpoint[SingleSignOnService] Location.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-single-sign-on-service-binding]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **single-sign-on-service-binding**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The https://www.oasis-open.org/committees/download.php/51890/SAML%20MD%20simplified%20overview.pdf#2.5%20Endpoint[SingleSignOnService] Binding.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The supported values are *POST* and *REDIRECT*.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-signing-algorithms]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **signing-algorithms**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The list of `org.opensaml.saml.ext.saml2alg.SigningMethod` Algorithms for this asserting party, in preference order.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-02-17 15:52:41 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-asserting-party-single-logout-service-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **single-logout-service-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The SingleLogoutService Location. Equivalent to the value found in <SingleLogoutService Location="..."/> in the asserting party's <IDPSSODescriptor>.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-single-logout-service-response-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **single-logout-service-response-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The SingleLogoutService ResponseLocation. Equivalent to the value found in <SingleLogoutService ResponseLocation="..."/> in the asserting party's <IDPSSODescriptor>.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-asserting-party-single-logout-service-binding]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **single-logout-service-binding**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The SingleLogoutService Binding. Equivalent to the value found in <SingleLogoutService Binding="..."/> in the asserting party's <IDPSSODescriptor>.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The supported values are *POST* and *REDIRECT*.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-11-08 15:19:04 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-asserting-party-children]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Child Elements of <asserting-party>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-encryption-credential,encryption-credential>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-verification-credential,verification-credential>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-encryption-credential]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <encryption-credential>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The encryption credentials associated with the asserting party.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-encryption-credential-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Parent Elements of <encryption-credential>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-asserting-party,asserting-party>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-encryption-credential-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <encryption-credential> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-encryption-credential-certificate-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **certificate-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The location to get the certificate
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-encryption-credential-private-key-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **private-key-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The location to get the Relying Party's private key
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-verification-credential]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <verification-credential>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The verification credentials associated with the asserting party.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-verification-credential-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Parent Elements of <verification-credential>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-asserting-party,asserting-party>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-verification-credential-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <verification-credential> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-verification-credential-certificate-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **certificate-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The location to get this certificate
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-verification-credential-private-key-location]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **private-key-location**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The location to get the Relying Party's private key
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								[[nsa-http-basic]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <http-basic>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds a `BasicAuthenticationFilter` and `BasicAuthenticationEntryPoint` to the configuration.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The latter will only be used as the configuration entry point if form-based login is not enabled.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-basic-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <http-basic>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-basic-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <http-basic> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-basic-authentication-details-source-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-details-source-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to an `AuthenticationDetailsSource` which will be used by the authentication filter
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-basic-entry-point-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **entry-point-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Sets the `AuthenticationEntryPoint` which is used by the `BasicAuthenticationFilter`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-firewall]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <http-firewall> Element
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This is a top-level element which can be used to inject a custom implementation of `HttpFirewall` into the `FilterChainProxy` created by the namespace.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The default implementation should be suitable for most applications.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-firewall-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <http-firewall> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-http-firewall-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defines a reference to a Spring bean that implements `HttpFirewall`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <intercept-url>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This element is used to define the set of URL patterns that the application is interested in and to configure how they should be handled.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								It is used to construct the `FilterInvocationSecurityMetadataSource` used by the `FilterSecurityInterceptor`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								It is also responsible for configuring a `ChannelProcessingFilter` if particular URLs need to be accessed by HTTPS, for example.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								When matching the specified patterns against an incoming request, the matching is done in the order in which the elements are declared.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								So the most specific patterns should come first and the most general should come last.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <intercept-url>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-filter-security-metadata-source,filter-security-metadata-source>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <intercept-url> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url-access]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **access**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Lists the access attributes which will be stored in the `FilterInvocationSecurityMetadataSource` for the defined URL pattern/method combination.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								This should be a comma-separated list of the security configuration attributes (such as role names).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url-method]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **method**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The HTTP Method which will be used in combination with the pattern and servlet path (optional) to match an incoming request.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If omitted, any method will match.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If an identical pattern is specified with and without a method, the method-specific match will take precedence.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url-pattern]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **pattern**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The pattern which defines the URL path.
							 
						 
					
						
							
								
									
										
										
										
											2022-10-04 13:29:39 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The content will depend on the `request-matcher` attribute from the containing http element, so will default to MVC matcher if Spring MVC is in the classpath.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url-request-matcher-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **request-matcher-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A reference to a `RequestMatcher` that will be used to determine if this `<intercept-url>` is used.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url-requires-channel]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **requires-channel**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Can be "http" or "https" depending on whether a particular URL pattern should be accessed over HTTP or HTTPS respectively.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Alternatively the value "any" can be used when there is no preference.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If this attribute is present on any `<intercept-url>` element, then a `ChannelProcessingFilter` will be added to the filter stack and its additional dependencies added to the application context.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If a `<port-mappings>` configuration is added, this will be used to by the `SecureChannelProcessor` and `InsecureChannelProcessor` beans to determine the ports used for redirecting to HTTP/HTTPS.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								NOTE: This property is invalid for <<nsa-filter-security-metadata-source,filter-security-metadata-source>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-intercept-url-servlet-path]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **servlet-path**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The servlet path which will be used in combination with the pattern and HTTP method to match an incoming request.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This attribute is only applicable when <<nsa-http-request-matcher,request-matcher>> is 'mvc'.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								In addition, the value is only required in the following 2 use cases: 1) There are 2 or more `HttpServlet` 's registered in the `ServletContext` that have mappings starting with `'/'` and are different; 2) The pattern starts with the same value of a registered `HttpServlet` path, excluding the default (root) `HttpServlet` `'/'`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								NOTE: This property is invalid for <<nsa-filter-security-metadata-source,filter-security-metadata-source>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jee]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <jee>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds a J2eePreAuthenticatedProcessingFilter to the filter chain to provide integration with container authentication.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jee-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <jee>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jee-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <jee> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jee-mappable-roles]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **mappable-roles**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A comma-separate list of roles to look for in the incoming HttpServletRequest.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-jee-user-service-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **user-service-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A reference to a user-service (or UserDetailsService bean) Id
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-logout]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <logout>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds a `LogoutFilter` to the filter stack.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This is configured with a `SecurityContextLogoutHandler`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-logout-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <logout>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-logout-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <logout> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-logout-delete-cookies]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **delete-cookies**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A comma-separated list of the names of cookies which should be deleted when the user logs out.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-logout-invalidate-session]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **invalidate-session**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Maps to the `invalidateHttpSession` of the `SecurityContextLogoutHandler`.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Defaults to "true", so the session will be invalidated on logout.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-logout-logout-success-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **logout-success-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The destination URL which the user will be taken to after logging out.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to <form-login-login-page>/?logout (i.e. /login?logout)
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								+
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Setting this attribute will inject the `SessionManagementFilter` with a `SimpleRedirectInvalidSessionStrategy` configured with the attribute value.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								When an invalid session ID is submitted, the strategy will be invoked, redirecting to the configured URL.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-logout-logout-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **logout-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URL which will cause a logout (i.e. which will be processed by the filter).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to "/logout".
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-logout-success-handler-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **success-handler-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								May be used to supply an instance of `LogoutSuccessHandler` which will be invoked to control the navigation after logging out.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-11-08 15:19:04 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-saml2-login]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <saml2-login>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The xref:servlet/saml2/login/index.adoc#servlet-saml2login[SAML 2.0 Login] feature configures authentication support using an SAML 2.0 Service Provider.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Parent Elements of <saml2-login>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <saml2-login> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-relying-party-registration-repository-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **relying-party-registration-repository-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `RelyingPartyRegistrationRepository`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-authentication-request-repository-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-request-repository-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `Saml2AuthenticationRequestRepository`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-authentication-request-resolver-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-request-context-resolver-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `Saml2AuthenticationRequestResolver`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-authentication-converter-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-converter-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `AuthenticationConverter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-login-processing-url]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **login-processing-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URI where the filter processes authentication requests.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-login-page]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **login-page**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URI to send users to login.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-authentication-success-handler-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-success-handler-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `AuthenticationSuccessHandler`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-authentication-failure-handler-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-failure-handler-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `AuthenticationFailureHandler`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-login-authentication-manager-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-manager-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `AuthenticationManager`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-02-17 15:52:41 -03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-saml2-logout]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								== <saml2-logout>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The xref:servlet/saml2/logout.adoc#servlet-saml2login-logout[SAML 2.0 Single Logout] feature configures support for RP- and AP-initiated SAML 2.0 Single Logout.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-parents]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== Parent Elements of <saml2-logout>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-attributes]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								=== <saml2-logout> Attributes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-logout-url]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **logout-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URL by which the relying or asserting party can trigger logout.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-logout-request-url]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **logout-request-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URL by which the asserting party can send a SAML 2.0 Logout Request.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-logout-response-url]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **logout-response-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URL by which the asserting party can send a SAML 2.0 Logout Response.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-relying-party-registration-repository-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **relying-party-registration-repository-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `RelyingPartyRegistrationRepository`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-logout-request-validator-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **logout-request-validator-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `Saml2LogoutRequestValidator`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-logout-request-resolver-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **logout-request-resolver-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `Saml2LogoutRequestResolver`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-logout-request-repository-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **logout-request-repository-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `Saml2LogoutRequestRepository`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-logout-response-validator-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **logout-response-validator-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `Saml2LogoutResponseValidator`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-saml2-logout-logout-response-resolver-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **logout-response-resolver-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Reference to the `Saml2LogoutResponseResolver`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-06-12 18:00:51 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-password-management]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <password-management>
							 
						 
					
						
							
								
									
										
										
										
											2020-06-12 18:00:51 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This element configures password management.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-password-management-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <password-management>
							 
						 
					
						
							
								
									
										
										
										
											2020-06-12 18:00:51 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-password-management-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <password-management> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2020-06-12 18:00:51 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-password-management-change-password-page]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **change-password-page**
							 
						 
					
						
							
								
									
										
										
										
											2020-06-12 18:00:51 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The change password page. Defaults to "/change-password".
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-port-mappings]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <port-mappings>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								By default, an instance of `PortMapperImpl` will be added to the configuration for use in redirecting to secure and insecure URLs.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This element can optionally be used to override the default mappings which that class defines.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Each child `<port-mapping>` element defines a pair of HTTP:HTTPS ports.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The default mappings are 80:443 and 8080:8443.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								An example of overriding these can be found in xref:servlet/exploits/http.adoc#servlet-http-redirect[Redirect to HTTPS].
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-port-mappings-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <port-mappings>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-port-mappings-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <port-mappings>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-port-mapping,port-mapping>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-port-mapping]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <port-mapping>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Provides a method to map http ports to https ports when forcing a redirect.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-port-mapping-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <port-mapping>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-port-mappings,port-mappings>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-port-mapping-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <port-mapping> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-port-mapping-http]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **http**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The http port to use.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-port-mapping-https]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **https**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The https port to use.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <remember-me>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds the `RememberMeAuthenticationFilter` to the stack.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This in turn will be configured with either a `TokenBasedRememberMeServices`, a `PersistentTokenBasedRememberMeServices` or a user-specified bean implementing `RememberMeServices` depending on the attribute settings.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <remember-me>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <remember-me> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-authentication-success-handler-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-success-handler-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Sets the `authenticationSuccessHandler` property on the `RememberMeAuthenticationFilter` if custom navigation is required.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The value should be the name of a `AuthenticationSuccessHandler` bean in the application context.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-data-source-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **data-source-ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								A reference to a `DataSource` bean.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If this is set, `PersistentTokenBasedRememberMeServices` will be used and configured with a `JdbcTokenRepositoryImpl` instance.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-remember-me-parameter]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **remember-me-parameter**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The name of the request parameter which toggles remember-me authentication.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to "remember-me".
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Maps to the "parameter" property of `AbstractRememberMeServices`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-remember-me-cookie]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **remember-me-cookie**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The name of cookie which store the token for remember-me authentication.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to "remember-me".
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Maps to the "cookieName" property of `AbstractRememberMeServices`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-key]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **key**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Maps to the "key" property of `AbstractRememberMeServices`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Should be set to a unique value to ensure that remember-me cookies are only valid within the one application footnote:[
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This doesn't affect the use of `PersistentTokenBasedRememberMeServices`, where the tokens are stored on the server side.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								].
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If this is not set a secure random value will be generated.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Since generating secure random values can take a while, setting this value explicitly can help improve startup times when using the remember-me functionality.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-services-alias]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **services-alias**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Exports the internally defined `RememberMeServices` as a bean alias, allowing it to be used by other beans in the application context.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-services-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **services-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Allows complete control of the `RememberMeServices` implementation that will be used by the filter.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The value should be the `id` of a bean in the application context which implements this interface.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Should also implement `LogoutHandler` if a logout filter is in use.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-token-repository-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **token-repository-ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Configures a `PersistentTokenBasedRememberMeServices` but allows the use of a custom `PersistentTokenRepository` bean.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-token-validity-seconds]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **token-validity-seconds**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Maps to the `tokenValiditySeconds` property of `AbstractRememberMeServices`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specifies the period in seconds for which the remember-me cookie should be valid.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								By default it will be valid for 14 days.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-use-secure-cookie]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **use-secure-cookie**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								It is recommended that remember-me cookies are only submitted over HTTPS and thus should be flagged as "secure".
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								By default, a secure cookie will be used if the connection over which the login request is made is secure (as it should be).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If you set this property to `false`, secure cookies will not be used.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Setting it to `true` will always set the secure flag on the cookie.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								This attribute maps to the `useSecureCookie` property of `AbstractRememberMeServices`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-remember-me-user-service-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **user-service-ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								The remember-me services implementations require access to a `UserDetailsService`, so there has to be one defined in the application context.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If there is only one, it will be selected and used automatically by the namespace configuration.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If there are multiple instances, you can specify a bean `id` explicitly using this attribute.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-request-cache]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <request-cache> Element
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Sets the `RequestCache` instance which will be used by the `ExceptionTranslationFilter` to store request information before invoking an `AuthenticationEntryPoint`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-request-cache-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <request-cache>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-request-cache-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <request-cache> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-request-cache-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **ref**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defines a reference to a Spring bean that is a `RequestCache`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <session-management>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Session-management related functionality is implemented by the addition of a `SessionManagementFilter` to the filter stack.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <session-management>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <session-management> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-08-17 15:20:07 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-session-management-authentication-strategy-explicit-invocation]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **authentication-strategy-explicit-invocation**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Setting this attribute to true will mean that `SessionManagementFilter` will not be injected and explicit invocation of SessionAuthenticationStrategy is required.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management-invalid-session-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **invalid-session-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Setting this attribute will inject the `SessionManagementFilter` with a `SimpleRedirectInvalidSessionStrategy` configured with the attribute value.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								When an invalid session ID is submitted, the strategy will be invoked, redirecting to the configured URL.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management-invalid-session-strategy-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **invalid-session-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Allows injection of the InvalidSessionStrategy instance used by the SessionManagementFilter.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Use either this or the `invalid-session-url` attribute but not both.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management-session-authentication-error-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **session-authentication-error-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defines the URL of the error page which should be shown when the SessionAuthenticationStrategy raises an exception.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If not set, an unauthorized (401) error code will be returned to the client.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Note that this attribute doesn't apply if the error occurs during a form-based login, where the URL for authentication failure will take precedence.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management-session-authentication-strategy-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **session-authentication-strategy-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Allows injection of the SessionAuthenticationStrategy instance used by the SessionManagementFilter
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management-session-fixation-protection]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **session-fixation-protection**
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Indicates how session fixation protection will be applied when a user authenticates.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If set to "none", no protection will be applied.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"newSession" will create a new empty session, with only Spring Security-related attributes migrated.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"migrateSession" will create a new session and copy all session attributes to the new session.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								In Servlet 3.1 (Java EE 7) and newer containers, specifying "changeSessionId" will keep the existing session and use the container-supplied session fixation protection (HttpServletRequest#changeSessionId()).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to "changeSessionId" in Servlet 3.1 and newer containers, "migrateSession" in older containers.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Throws an exception if "changeSessionId" is used in older containers.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								+
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								If session fixation protection is enabled, the `SessionManagementFilter` is injected with an appropriately configured `DefaultSessionAuthenticationStrategy`.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								See the Javadoc for this class for more details.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-session-management-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <session-management>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-concurrency-control,concurrency-control>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <concurrency-control>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds support for concurrent session control, allowing limits to be placed on the number of active sessions a user can have.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A `ConcurrentSessionFilter` will be created, and a `ConcurrentSessionControlAuthenticationStrategy` will be used with the `SessionManagementFilter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If a `form-login` element has been declared, the strategy object will also be injected into the created authentication filter.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								An instance of `SessionRegistry` (a `SessionRegistryImpl` instance unless the user wishes to use a custom bean) will be created for use by the strategy.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <concurrency-control>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-session-management,session-management>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <concurrency-control> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control-error-if-maximum-exceeded]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **error-if-maximum-exceeded**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If set to "true" a `SessionAuthenticationException` will be raised when a user attempts to exceed the maximum allowed number of sessions.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The default behaviour is to expire the original session.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control-expired-url]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **expired-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The URL a user will be redirected to if they attempt to use a session which has been "expired" by the concurrent session controller because the user has exceeded the number of allowed sessions and has logged in again elsewhere.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Should be set unless `exception-if-maximum-exceeded` is set.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If no value is supplied, an expiry message will just be written directly back to the response.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control-expired-session-strategy-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **expired-url**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Allows injection of the ExpiredSessionStrategy instance used by the ConcurrentSessionFilter
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control-max-sessions]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **max-sessions**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Maps to the `maximumSessions` property of `ConcurrentSessionControlAuthenticationStrategy`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Specify `-1` as the value to support unlimited sessions.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-12-05 12:50:38 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[nsa-concurrency-control-max-sessions-ref]]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* **max-sessions-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Allows injection of the SessionLimit instance used by the ConcurrentSessionControlAuthenticationStrategy
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control-session-registry-alias]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **session-registry-alias**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								It can also be useful to have a reference to the internal session registry for use in your own beans or an admin interface.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								You can expose the internal bean using the `session-registry-alias` attribute, giving it a name that you can use elsewhere in your configuration.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-concurrency-control-session-registry-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **session-registry-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The user can supply their own `SessionRegistry` implementation using the `session-registry-ref` attribute.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The other concurrent session control beans will be wired up to use it.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-x509]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <x509>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Adds support for X.509 authentication.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								An `X509AuthenticationFilter` will be added to the stack and an `Http403ForbiddenEntryPoint` bean will be created.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The latter will only be used if no other authentication mechanisms are in use (its only functionality is to return an HTTP 403 error code).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A `PreAuthenticatedAuthenticationProvider` will also be created which delegates the loading of user authorities to a `UserDetailsService`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-x509-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <x509>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-http,http>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-x509-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <x509> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-x509-authentication-details-source-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **authentication-details-source-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A reference to an `AuthenticationDetailsSource`
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-x509-subject-principal-regex]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **subject-principal-regex**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defines a regular expression which will be used to extract the username from the certificate (for use with the `UserDetailsService`).
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-x509-user-service-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **user-service-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Allows a specific `UserDetailsService` to be used with X.509 in the case where multiple instances are configured.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If not set, an attempt will be made to locate a suitable instance automatically and use that.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-map]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <filter-chain-map>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Used to explicitly configure a FilterChainProxy instance with a FilterChainMap
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-map-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <filter-chain-map> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-map-request-matcher]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **request-matcher**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defines the strategy to use for matching incoming requests.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Currently the options are 'ant' (for ant path patterns), 'regex' for regular expressions and 'ciRegex' for case-insensitive regular expressions.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-map-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <filter-chain-map>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-filter-chain,filter-chain>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <filter-chain>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Used within to define a specific URL pattern and the list of filters which apply to the URLs matching that pattern.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								When multiple filter-chain elements are assembled in a list in order to configure a FilterChainProxy, the most specific patterns must be placed at the top of the list, with most general ones at the bottom.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-parents]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Parent Elements of <filter-chain>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* <<nsa-filter-chain-map,filter-chain-map>>
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <filter-chain> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-filters]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **filters**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A comma separated list of references to Spring beans that implement `Filter`.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The value "none" means that no `Filter` should be used for this `FilterChain`.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-pattern]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **pattern**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A pattern that creates RequestMatcher in combination with the <<nsa-filter-chain-map-request-matcher,request-matcher>>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-chain-request-matcher-ref]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **request-matcher-ref**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A reference to a `RequestMatcher` that will be used to determine if any `Filter` from the `filters` attribute should be invoked.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-security-metadata-source]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								== <filter-security-metadata-source>
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Used to explicitly configure a FilterSecurityMetadataSource bean for use with a FilterSecurityInterceptor.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Usually only needed if you are configuring a FilterChainProxy explicitly, rather than using the<http> element.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The intercept-url elements used should only contain pattern, method and access attributes.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Any others will result in a configuration error.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-security-metadata-source-attributes]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== <filter-security-metadata-source> Attributes
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-security-metadata-source-id]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **id**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								A bean identifier, used for referring to the bean elsewhere in the context.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-security-metadata-source-request-matcher]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **request-matcher**
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Defines the strategy use for matching incoming requests.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Currently the options are 'ant' (for ant path patterns), 'regex' for regular expressions and 'ciRegex' for case-insensitive regular expressions.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-security-metadata-source-use-expressions]]
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* **use-expressions**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Enables the use of expressions in the 'access' attributes in <intercept-url> elements rather than the traditional list of configuration attributes.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Defaults to 'true'.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								If enabled, each attribute should contain a single Boolean expression.
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If the expression evaluates to 'true', access will be granted.
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[[nsa-filter-security-metadata-source-children]]
							 
						 
					
						
							
								
									
										
										
										
											2021-11-01 14:50:25 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=== Child Elements of <filter-security-metadata-source>
							 
						 
					
						
							
								
									
										
										
										
											2018-03-05 16:10:47 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 17:38:22 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								* <<nsa-intercept-url,intercept-url>>