Product Documentation

Syntax

java -jar skfsadminclient.jar UU <hostport> <did> <wsprotocol> <authtype> [ <accesskey> <secretkey> | <svcusername> <svcpassword> ] <oldusername> <newusername>

Values

Value

Explanation

hostport

Host and port to access theĀ FIDO server
SOAP & REST format : http://<FQDN>:<non-ssl-portnumber> or https://<FQDN>:<ssl-portnumber>
example : https://fidodemo.strongauth.com:8181

did

Unique domain identifier that belongs to SKCE

wsprotocol

Web service protocol; REST | SOAP

authtype

Authentication type; HMAC | PASSWORD

accesskey

Access key for use in identifying a secret key

secretkey

Secret key for HMACing a request

svcusername

Username used for PASSWORD-based authorization

svcpassword

Password used for PASSWORD-based authorization

oldusername

The current username of the user to be changed

newusername

The new username that will be assigned to the specified user

Output

$ example:~/skfsclient> java -jar skfsadminclient.jar UU https://example.strongkey.com:8181 1 REST PASSWORD fidoadminuser Abcd1234! This email address is being protected from spambots. You need JavaScript enabled to view it. This email address is being protected from spambots. You need JavaScript enabled to view it.

Copyright (c) 2001-2023 StrongAuth, Inc. All rights reserved.

REST Update Username with PASSWORD
******************************************
{"svcinfo":{"did":1,"protocol":"FIDO2_0","authtype":"PASSWORD","svcusername":"fidoadminuser","svcpassword":"Abcd1234!"},"payload":{"oldusername":"This email address is being protected from spambots. You need JavaScript enabled to view it.","newusername":"This email address is being protected from spambots. You need JavaScript enabled to view it.","modify_location":"Cupertino"}}

Calling update @ https://example.strongkey.com:8181/skfs/rest/updateusername
 Response : {"status":true,"message":"FIDOJPA-MSG-2015: Successfully updated username.","skfsVersion":"4.10.0","skfsFQDN":"example.strongkey.com","TXID":"1-174-1677279652057"}

Update Username complete.
******************************************

Done with Update Username!