24.04.2013 Views

BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...

BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...

BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

URLs for forms and applications<br />

The goto parameter redirects users to an alternate URL after login or logout. Any<br />

URL after a goto statement must be URL-encoded.<br />

Use the enc parameter to specify the type of character encoding used in other<br />

parameters, such as UTF-8 or Shift_JIS.<br />

When you use login and logout parameters in URLs, use the following guidelines:<br />

To have users log in manually, specify login.jsp.<br />

To take users to the logout page only, specify logout.jsp or specify<br />

LogoutServlet without the goto parameter.<br />

To have users go directly to an alternate URL, specify LoginServlet or<br />

LogoutServlet and the goto parameter.<br />

When creating login and logout URLs, do not include quotation marks around<br />

parameter values.<br />

The following examples show how to use URLs for login and logout. In these<br />

examples, mid<strong>Tier</strong>Server is the name of the web server, arsys is the default<br />

context path, and URL is a valid URL. When creating login and logout URLs, do not<br />

include quotation marks around parameter values.<br />

Example 1: Login with default login page<br />

http://mid<strong>Tier</strong>Server/arsys/shared/login.jsp?goto=URL<br />

&server=serverName<br />

The user logs in by using the default login page, and then goes to the specified<br />

URL.<br />

Example 2: Login with customized login page<br />

http://webServerName/contextPath/shared/customLoginFile.jsp?<br />

goto=URL=&server=AR<strong>System</strong>Server<br />

The user logs in by using a login page customized for an application, and then goes<br />

to the specified URL.<br />

Example 3: User logged in automatically<br />

http://mid<strong>Tier</strong>Server/arsys/servlet/LoginServlet?goto=URL<br />

&server=serverName&username=userName&pwd=password<br />

The user is logged in automatically and goes directly to the specified URL.<br />

Example 4: Logout<br />

http://mid<strong>Tier</strong>Server/arsys/servlet/LogoutServlet?goto=URL<br />

The user logs out and goes directly to the specified URL.<br />

Creating login and logout buttons<br />

You can create a button field that users can click to log out, or a button form<br />

element that users can click to log in or log out.<br />

Chapter 3 Working with applications that will be viewed in a browser 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!