Modifier and Type | Method and Description |
---|---|
AuthenticateResult |
SecovidServicesWs.authenticate(String userId,
String tokenPassword,
String locale)
This function authenticates a user and an OTP against one of the token that are assigned to the user. |
AuthenticateResult |
SecovidServicesWs.authenticateChap(AuthenticateChapRequest authenticateChapRequest)
This function authenticates a user and an OTP against one of the token that are assigned to the user. |
AuthenticateResult |
SecovidServicesWs.challengeAnswerChap(String state,
String answer,
String locale)
If SSMS requests additional data (methods
SecovidServicesWs.authenticateChap() or
SecovidServicesWs.challengeAnswerChap() returned with
ReturnResult.SEND_CHALLENGE }, clients must call this method to
send the challenge answer to the server. |
AuthenticateResult |
SecovidServicesWs.challengeResponse(String state,
String challengeAnswer,
String locale)
If an authentication was done, at the server side, an AuthenticateResult will be sent to the client. |
static void |
SecovidServicesWs.checkForDataNotNull(Object obj,
String objectName)
This "wrapper" method was necessary to use a common utility between ManagementWS and ServicesWS.
|
SecovidUserInfo |
SecovidServicesWs.getUserInfo(String userId)
getUserInfo fetches the following properties of a SecOVID user for information purpose: • userID - String - the unique SecOVID user ID • locked - boolean - the locked state of the SecOVID user (true or false, true as well if temporarily locked) • lockReason - String - the lockReasonKey if user is locked • list of token serial numbers - List of String - a list of token serial numbers of the assigned tokens These properties will be provided as an object of type SecovidUserInfo . |
boolean |
SecovidServicesWs.isLocked(String tokenSnr)
Returns the information as to whether or not the token is locked.
|
boolean |
SecovidServicesWs.isUserLocked(String userId)
Returns the information as to whether or not the user is locked.
|
boolean |
SecovidServicesWs.resync(String tokenSnr,
String[] otps)
Perform a re-synchronization for a token:
2 consecutive one time passwords (OTPs) must be validated
by the server.
|
boolean |
SecovidServicesWs.resyncByUserId(String userId,
String[] otps)
Perform a re-synchronization for a token of a given user:
2 consecutive one time passwords (OTPs) must be validated
by the server.
|
boolean |
SecovidServicesWs.verify(String tokenSnr,
String otp)
Deprecated.
use method
SecovidServicesWs.verifyEx(String, String) |
boolean |
SecovidServicesWs.verifyEx(String tokenSnr,
String otp)
Verification of an one time password (OTP) for the token with the given serial number.
|
Copyright © 2022 KOBIL Systems GmbH. All rights reserved.