public class MechanismRegistrationHelper
extends java.lang.Object
Constructor and Description |
---|
MechanismRegistrationHelper() |
Modifier and Type | Method and Description |
---|---|
static CloudMechanism[] |
getCloudRegistrationsForUser(java.lang.String username,
CiServerConnection conn)
Fetches an array of IBM Security Verify Registrations for the supplied user in the CI instance supplied.
|
static CloudMechanism[] |
getCloudRegistrationsForUser(java.lang.String username,
java.lang.String locale,
CiServerConnection conn)
Fetches an array of IBM Security Verify Registrations for the supplied user in the CI instance supplied.
|
static EULAStatus[] |
getEulaStatusForUser(java.lang.String username)
Fetches an array of EULAStatus for the supplied user.
|
static FIDORegistration[] |
getFidoRegistrationsForUser(java.lang.String username)
Fetches an array of FIDO Registrations for the supplied user.
|
static FIDORegistration[] |
getFidoRegistrationsForUser(java.lang.String username,
java.lang.String locale)
Fetches an array of FIDO Registrations for the supplied user.
|
static MMFARegistration[] |
getMmfaRegistrationsForUser(java.lang.String username)
Fetches an array of MMFA Registrations for the supplied user
|
static MechanismList |
getRegistrationsForUser(java.lang.String username)
Fetches the list of registrations associated with the supplied user.
|
static MechanismList |
getRegistrationsForUser(java.lang.String username,
CiServerConnection conn)
Fetches the list of registrations for the supplied user.
|
static MechanismList |
getRegistrationsForUser(java.lang.String username,
java.lang.String locale)
Fetches the list of registrations for the supplied user.
|
static MechanismList |
getRegistrationsForUser(java.lang.String username,
java.lang.String locale,
CiServerConnection conn)
Fetches the list of registrations for the supplied user.
|
static boolean |
isHotpEnrolled(java.lang.String username)
Fetches the HOTP enrollment status of the user
Uses the default Locale.
|
static boolean |
isHotpEnrolled(java.lang.String username,
java.lang.String locale)
Fetches the HOTP enrollment status of the user
Uses the supplied Locale.
|
static boolean |
isKQEnrolled(java.lang.String username)
Fetches the Knowledge Question enrollment status of the user
Uses the default Locale.
|
static boolean |
isKQEnrolled(java.lang.String username,
java.lang.String locale)
Fetches the Knowledge Question enrollment status of the user
Uses the supplied Locale.
|
static boolean |
isTotpEnrolled(java.lang.String username)
Fetches the TOTP enrollment status of the user
Uses the default Locale.
|
static boolean |
isTotpEnrolled(java.lang.String username,
java.lang.String locale)
Fetches the TOTP enrollment status of the user
Uses the supplied Locale.
|
public static MechanismList getRegistrationsForUser(java.lang.String username)
username
- The username of the user to fetch registrations for.MechanismList
.public static MechanismList getRegistrationsForUser(java.lang.String username, java.lang.String locale)
username
- The username of the user to fetch registrations for.locale
- The locale to use in case of error messages.MechanismList
.public static MechanismList getRegistrationsForUser(java.lang.String username, CiServerConnection conn)
username
- The username of the user to fetch registrations for.conn
- The CiServerConnection
to use for all network calls to IBM Security Verify.MechanismList
.public static MechanismList getRegistrationsForUser(java.lang.String username, java.lang.String locale, CiServerConnection conn)
username
- The username of the user to fetch registrations for.locale
- The locale to use in case of error messages.conn
- The CiServerConnection
to use for all network calls to IBM Security Verify.MechanismList
.public static CloudMechanism[] getCloudRegistrationsForUser(java.lang.String username, CiServerConnection conn)
username
- The username of the user to fetch registrations for.conn
- The CiServerConnection
to use for all network calls to IBM Security Verify.CloudMechanism
for the user. An empty array indicates that no
IBM Security Verify registrations exist for the user.public static CloudMechanism[] getCloudRegistrationsForUser(java.lang.String username, java.lang.String locale, CiServerConnection conn)
username
- The username of the user to fetch registrations for.locale
- The locale to use in case of error messages.conn
- The CiServerConnection
to use for all network calls to IBM Security Verify.CloudMechanism
for the user. An empty array indicates that no
IBM Security Verify registrations exist for the user.public static FIDORegistration[] getFidoRegistrationsForUser(java.lang.String username)
username
- The username of the user to fetch registrations for.FIDORegistration
for the user. An empty array indicates that no
FIDO registrations exist for the user.public static FIDORegistration[] getFidoRegistrationsForUser(java.lang.String username, java.lang.String locale)
username
- The username of the user to fetch registrations for.locale
- The locale to use in case of error messages.FIDORegistration
for the user. An empty array indicates that no
FIDO registrations exist for the user.public static MMFARegistration[] getMmfaRegistrationsForUser(java.lang.String username)
username
- The username of the user to fetch registrations for.MMFARegistration
for the user. An empty array indicates that no
MMFA registrations exist for the user.public static EULAStatus[] getEulaStatusForUser(java.lang.String username)
username
- The username of the user to fetch status of EULA for.EULAStatus
for the user. An empty array indicates that no
EULA's have been accepted by the user.public static boolean isHotpEnrolled(java.lang.String username)
username
- The username of the user to perform this check for.public static boolean isHotpEnrolled(java.lang.String username, java.lang.String locale)
username
- The username of the user to perform this check for.locale
- The locale to use in case of error messages.public static boolean isTotpEnrolled(java.lang.String username)
username
- The username of the user to perform this check for.public static boolean isTotpEnrolled(java.lang.String username, java.lang.String locale)
username
- The username of the user to perform this check for.locale
- The locale to use in case of error messages.public static boolean isKQEnrolled(java.lang.String username)
username
- The username of the user to perform this check for.public static boolean isKQEnrolled(java.lang.String username, java.lang.String locale)
username
- The username of the user to perform this check for.locale
- The locale to use in case of error messages.