Examples for using URLs for login
The following examples show how to use URLs for login. In these examples, midTierServer is the name of the web server, arsys is the default context path, and URL is a valid URL. When creating login URLs, do not include quotation marks around parameter values.
Example 1 - Login with default login page
http://<midTierServer>/arsys/shared/login.jsp?goto=<URL>&server=<serverName>
The user logs in by using the default login page, and then goes to the specified URL.
Example 2 - Login with customized login page
http://<webServerName>/contextPath/shared/customLoginFile.jsp?
goto=<URL>=&server=<ARSystemServer>
The user logs in by using a login page customized for an application, and then goes to the specified URL.
Example 3 - User logged in automatically
http://<midTierServer>/arsys/servlet/LoginServlet?goto=<URL>&server=<serverName>&username=<userName>&pwd=<password>
The user is logged in automatically and goes directly to the specified URL.
Example 4 - Logout
http://<midTierServer>/arsys/servlet/LogoutServlet?goto=<URL>
The user logs out and goes directly to the specified URL.
Example 5 - Login
http://<midTierServer>/arsys/servlet/LoginServlet?returnBack=<URL>
The user logs in and goes directly to the specified URL.
Comments
Log in or register to comment.