Implementation Guide for Oracle Billing Insight > Customizing User Management > Customizing User Authentication and Authorization With Spring Security >
Customizing Authentication URLs
You can customize the default URLs for the following authentication pages:
To customize Spring Security default URLs
- Open the spring-security.xml file, located in the following directory:
- UNIX.
EDX_HOME /config/security/selfservice
- Windows.
EDX_HOME \config\security\selfservice
- In the security:http section of the spring-security.xml file, edit the appropriate URL attribute, shown in the following table.
|
Spring Configuration Attribute |
|
Login Page |
login-page |
The login-page attribute maps to the loginFormUrl property of the LoginUrlAuthenticationEntryPoint. |
Default Login Target |
default-target-url |
The default-target-url attribute maps to the defaultTargetUrl property of UsernamePasswordAuthenticationFilter code. |
Access Denied Page |
error-page |
None. |
Log Out Target Page |
logout-success-url |
None. |
Login Failure Target |
authentication-failure-url |
The authentication-failure-url attribute maps to the authenticationFailureUrl property of the UsernamePasswordAuthenticationFilter code. |
|