Package org.openiam.srvc.fido
Class FidoAuthenticatorDataWebServiceImpl
- java.lang.Object
-
- org.openiam.srvc.AbstractApiService
-
- org.openiam.srvc.fido.FidoAuthenticatorDataWebServiceImpl
-
- All Implemented Interfaces:
FidoAuthenticatorDataWebService
@Service("fidoAuthenticatorWS") public class FidoAuthenticatorDataWebServiceImpl extends AbstractApiService implements FidoAuthenticatorDataWebService
FIDO Authentication web service implementation
-
-
Field Summary
-
Fields inherited from class org.openiam.srvc.AbstractApiService
applicationContext, log, rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description FidoAuthenticatorDataWebServiceImpl(FidoAuthenticatorServiceQueue rabbitMqQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
delete(byte[] credentialId)
Delete Fido Authenticatorboolean
exist(byte[] credentialId)
Check if Fido Authenticator existList<FidoAuthenticatorDto>
findAllByLogin(String login, String manSysId)
Find FIDO authenticators dto by loginList<FidoAuthenticatorDto>
findByUserId(String id)
Find FIDO authenticators dto by userIdFidoAuthenticatorDto
findOneByCredentialId(byte[] credentialId, String managedSystemId)
Find FIDO authenticator dto by credentialIdString
save(FidoAuthenticatorDto fidoAuthenticator)
Save Fido AuthenticatorResponse
updateCounter(byte[] credentialId, long count)
Update count of authenticatorResponse
updateName(byte[] credentialId, String name)
Update name of authenticator-
Methods inherited from class org.openiam.srvc.AbstractApiService
broadcast, crudRequest, getBooleanValue, getIntValue, getIntValue, getRabbitMqQueue, getResponse, getResponse, getValue, getValue, getValueList, getValueList, idRequest, manageApiRequest, manageApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, membershipRequestProcessing, membershipRequestProcessing, publish, publish, sendAsync, sendAsync
-
-
-
-
Constructor Detail
-
FidoAuthenticatorDataWebServiceImpl
public FidoAuthenticatorDataWebServiceImpl(FidoAuthenticatorServiceQueue rabbitMqQueue)
-
-
Method Detail
-
findOneByCredentialId
public FidoAuthenticatorDto findOneByCredentialId(byte[] credentialId, String managedSystemId)
Find FIDO authenticator dto by credentialId- Specified by:
findOneByCredentialId
in interfaceFidoAuthenticatorDataWebService
- Parameters:
credentialId
-- Returns:
-
findAllByLogin
public List<FidoAuthenticatorDto> findAllByLogin(String login, String manSysId)
Find FIDO authenticators dto by login- Specified by:
findAllByLogin
in interfaceFidoAuthenticatorDataWebService
- Parameters:
login
-manSysId
-- Returns:
-
findByUserId
public List<FidoAuthenticatorDto> findByUserId(String id)
Find FIDO authenticators dto by userId- Specified by:
findByUserId
in interfaceFidoAuthenticatorDataWebService
- Parameters:
id
-- Returns:
-
save
public String save(FidoAuthenticatorDto fidoAuthenticator)
Save Fido Authenticator- Specified by:
save
in interfaceFidoAuthenticatorDataWebService
- Parameters:
fidoAuthenticator
-- Returns:
-
delete
public Response delete(byte[] credentialId)
Delete Fido Authenticator- Specified by:
delete
in interfaceFidoAuthenticatorDataWebService
- Parameters:
credentialId
-- Returns:
-
exist
public boolean exist(byte[] credentialId)
Check if Fido Authenticator exist- Specified by:
exist
in interfaceFidoAuthenticatorDataWebService
- Parameters:
credentialId
-- Returns:
-
updateName
public Response updateName(byte[] credentialId, String name)
Update name of authenticator- Specified by:
updateName
in interfaceFidoAuthenticatorDataWebService
- Parameters:
credentialId
-name
-- Returns:
-
updateCounter
public Response updateCounter(byte[] credentialId, long count)
Update count of authenticator- Specified by:
updateCounter
in interfaceFidoAuthenticatorDataWebService
- Parameters:
credentialId
-count
-- Returns:
-
-