Package org.apache.syncope.core.logic.wa
Class GoogleMfaAuthTokenLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<AuthProfileTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<AuthProfileTO>
org.apache.syncope.core.logic.AbstractAuthProfileLogic
org.apache.syncope.core.logic.wa.GoogleMfaAuthTokenLogic
-
Field Summary
Fields inherited from class org.apache.syncope.core.logic.AbstractAuthProfileLogic
authProfileDAO, binder, entityFactoryFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionGoogleMfaAuthTokenLogic(AuthProfileDataBinder binder, AuthProfileDAO authProfileDAO, EntityFactory entityFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int otp) voidvoidvoiddelete(LocalDateTime expirationDate) voidlist()protected voidremoveTokenAndSave(AuthProfile profile, Predicate<GoogleMfaAuthToken> criteria) voidstore(String owner, GoogleMfaAuthToken token) Methods inherited from class org.apache.syncope.core.logic.AbstractAuthProfileLogic
authProfile, resolveReferenceMethods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Constructor Details
-
GoogleMfaAuthTokenLogic
public GoogleMfaAuthTokenLogic(AuthProfileDataBinder binder, AuthProfileDAO authProfileDAO, EntityFactory entityFactory)
-
-
Method Details
-
removeTokenAndSave
-
delete
-
delete
-
delete
-
delete
-
deleteAll
-
store
-
read
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public GoogleMfaAuthToken read(String owner, int otp) -
list
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<GoogleMfaAuthToken> list() -
read
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<GoogleMfaAuthToken> read(String owner)
-