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

      • Lenovo Unified Workspace End-of-Life Questions and Answers

        Will the shutdown of LUW servers and access to downloads affect my server licensing? No, the shutdown of the customer servers and access to the product and licensing downloads will not affect your server licensing. This license is downloaded and ...
      • 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 ...
      • LanSchool Documentation Guides

        LanSchool Classic Teacher Console The LanSchool Teacher Console is the interface teachers will use to manage their classroom and students. It contains all the tools necessary for a teacher to effectively interact with students and create a ...
      • Lenovo Unified Workspace 7.0.1.41 Released

        Highlights of Unified Workspace 7.0.1.41 Before you install: Please view the installation notes here. 7.0.1.41 requires a 7.0 license file. Below is a list of enhancements and fixes for Unified Workspace 7.0.1.41 Updated Log4j Updated Java Updated ...
      • 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 Password Reset 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 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 ...
      • Unable to authenticate Relay user. Multiple authentication exceptions.

        When applying a password policy or login policy, customer’s stand-alone relay(s) will not load properly. They are giving an Unable to authenticate Relay user error.  ERROR (12/03) 15:05:42 [com.stoneware.service.application.Relay[relay-SWRelay1]]: ...