How can we authenticate someone and then redirect them to another url ?

How can we authenticate someone and then redirect them to another url ?

An example: 
https://portal.example-cloud.com/index.jsp?redirectTo=http://www.google.com 

Will authenticate you to webNetwork and then redirect your browser over to google.com 

This is handled in the /stoneware/webserv/index.jsp page. If you are not using the stock stoneware login pages, then you can add something like the following to your custom page. 

The following code in the index.jsp handles the redirect. 

String redirectTo = request.getParameter( "redirectTo" ); 
if ( redirectTo != null ) { 
session.setAttribute( StonewareConstants.ATTEMPT_TO_VISIT, redirectTo ); 



This url method can also be used to make a desktop icon in windows and have it launch an application. For example have the shortcut point to : 

https://portal.example-cloud.com/index.jsp?redirectTo=https://portal.example-cloud.com/StartWebApplication/cn=Bugzilla-webapp,ou=stoneware,dc=example-cloud,dc=com 
 

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Change Reset Password Button Text

        Change the text of the "Reset Password" button on the UW Login Page How to change the text of the Reset Password button on the Login Page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants ...
      • Remove Reset Password Button From Login Page

        Remove the Reset Password Button from the Login Page How to remove the Reset Password button from the Unified Workspace login page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants Expand ...
      • Lenovo Unified Workspace End-of-Life Questions and Answers

        As of January 31st 2024, Lenovo Unified Workspace (formerly Stoneware WebNetwork) is no longer supported. This means that we no longer provide licenses, downloads, updates, patches, or technical assistance for this product. If you have any questions ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • Related Articles

      • Redirect password change to custom page

        Issue Customer would like the Change Password option to open their own password change application, not the one built into Unified Workspace. Solution There are two ways to accomplish this. Change stoneware/webserv/apps/selfService/ChangePassword.jsp ...
      • Setting SAML Logout URL

        Question: Better handling of logout process for SAML webApps. Solution: With the release of 6.4.1.24, we have enhanced our logout support for SAML applications.  Previously we used a preset URL for the logout process when loging out of the ...
      • Change Reset Password URL

        Issue Customer would like to use their own password changing application instead of the one built into Unified Workspace. Solution To point the Reset Password button/link to a specific URL: Open webAdmin Dashboard. Expand Customization Center. Expand ...
      • Google Drive redirect URI does not match a registered redirect URI

        Google Drive error: 400. That’s an error. Error: redirect_uri_mismatch The redirect URI in the request: https://<your_webNetwork_address/api/OAuthCallback did not match a registered redirect URI. This is saying that the URI that your webNetwork ...
      • Connection is busy with results for another hstmt

        I wrote a JSP page to connect to a SQL database. I have about 3 connections for each result set. I receive the error "Connection is busy" with results for another hstmt. Sometimes I receive the error, sometimes I do not. I also would like to know if ...