mirror of
				https://github.com/spring-projects/spring-security.git
				synced 2025-10-31 06:38:42 +00:00 
			
		
		
		
	SEC-707: Make purpose of form-login attributes clearer. Renamed login-url to login-processing-url
This commit is contained in:
		
							parent
							
								
									0fd9a9b963
								
							
						
					
					
						commit
						f76f1b340f
					
				| @ -23,7 +23,7 @@ import org.apache.commons.logging.LogFactory; | |||||||
| public class FormLoginBeanDefinitionParser implements BeanDefinitionParser { | public class FormLoginBeanDefinitionParser implements BeanDefinitionParser { | ||||||
|     protected final Log logger = LogFactory.getLog(getClass()); |     protected final Log logger = LogFactory.getLog(getClass()); | ||||||
| 
 | 
 | ||||||
|     static final String ATT_LOGIN_URL = "login-url"; |     static final String ATT_LOGIN_URL = "login-processing-url"; | ||||||
|     static final String DEF_LOGIN_URL = "/j_spring_security_check"; |     static final String DEF_LOGIN_URL = "/j_spring_security_check"; | ||||||
| 
 | 
 | ||||||
|     static final String ATT_LOGIN_PAGE = "login-page"; |     static final String ATT_LOGIN_PAGE = "login-page"; | ||||||
|  | |||||||
| @ -225,7 +225,7 @@ form-login = | |||||||
|     element form-login {form-login.attlist, empty} |     element form-login {form-login.attlist, empty} | ||||||
| form-login.attlist &= | form-login.attlist &= | ||||||
|     ## The URL that the login form is posted to. If unspecified, it defaults to /j_spring_security_check. |     ## The URL that the login form is posted to. If unspecified, it defaults to /j_spring_security_check. | ||||||
|     attribute login-url {xsd:string}? |     attribute login-processing-url {xsd:string}? | ||||||
| form-login.attlist &= | form-login.attlist &= | ||||||
|     ## The URL that will be redirected to after successful authentication, if the user's previous action could not be resumed. This generally happens if the user visits a login page without having first requested a secured operation that triggers authentication. If unspecified, defaults to the root of the application. |     ## The URL that will be redirected to after successful authentication, if the user's previous action could not be resumed. This generally happens if the user visits a login page without having first requested a secured operation that triggers authentication. If unspecified, defaults to the root of the application. | ||||||
|     attribute default-target-url {xsd:string}? |     attribute default-target-url {xsd:string}? | ||||||
|  | |||||||
| @ -579,7 +579,7 @@ | |||||||
|     </xs:complexType> |     </xs:complexType> | ||||||
|   </xs:element> |   </xs:element> | ||||||
|   <xs:attributeGroup name="form-login.attlist"> |   <xs:attributeGroup name="form-login.attlist"> | ||||||
|     <xs:attribute name="login-url" type="xs:string"> |     <xs:attribute name="login-processing-url" type="xs:string"> | ||||||
|       <xs:annotation> |       <xs:annotation> | ||||||
|         <xs:documentation>The URL that the login form is posted to. If unspecified, it defaults to /j_spring_security_check.</xs:documentation> |         <xs:documentation>The URL that the login form is posted to. If unspecified, it defaults to /j_spring_security_check.</xs:documentation> | ||||||
|       </xs:annotation> |       </xs:annotation> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user