New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE

Logon

The first REST Query required to be executed, to create a user session context.
Validates the user and sets up a unique session for him/her
Returns a unique GUID for the user which MUST be specified as a Query Param for all subsequent commands until logoff

The syntax of the query is
 @Param logonusername the logon name
 @Param password the clear case password satisfying http transmission rules

 Per http rules, special characters must have their hexadecimal values swapped in place for transmission
 (This is very important for strong passwords which contain these special characters)
      + Indicates a space (spaces cannot be used in a URL). %2B
       / Separates directories and subdirectories. %2F
       ? Separates the actual URL and the parameters. %3F
      % Specifies special characters. %25
      # Indicates bookmarks. %23
      & Separator between parameters specified in the URL. %26
 @see java.net.URLEncoder.encode(String, "UTF-8");
 @return a unique text/plain guid which defines the logged in user context for the life of the session

 usage example

 https://localhost:8080/MicroFocusHubRESTService/rest/users/logon?username=Administrator&password=Administrator

 

Labels (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
2 of 2
Last update:
‎2020-03-11 19:35
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.