Package org.apache.syncope.core.logic.wa
Class GoogleMfaAuthAccountLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<AuthProfileTO>
-
- org.apache.syncope.core.logic.AbstractAuthProfileLogic
-
- org.apache.syncope.core.logic.wa.GoogleMfaAuthAccountLogic
-
public class GoogleMfaAuthAccountLogic extends AbstractAuthProfileLogic
-
-
Field Summary
Fields Modifier and Type Field Description protected EntityFactory
entityFactory
-
Fields inherited from class org.apache.syncope.core.logic.AbstractAuthProfileLogic
authProfileDAO, binder
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description GoogleMfaAuthAccountLogic(EntityFactory entityFactory, AuthProfileDAO authProfileDAO, AuthProfileDataBinder binder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(String owner, GoogleMfaAuthAccount account)
void
delete(long id)
void
delete(String owner)
void
deleteAll()
List<GoogleMfaAuthAccount>
list()
GoogleMfaAuthAccount
read(long id)
List<GoogleMfaAuthAccount>
read(String owner)
void
update(String owner, GoogleMfaAuthAccount account)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractAuthProfileLogic
resolveReference
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
entityFactory
protected final EntityFactory entityFactory
-
-
Constructor Detail
-
GoogleMfaAuthAccountLogic
public GoogleMfaAuthAccountLogic(EntityFactory entityFactory, AuthProfileDAO authProfileDAO, AuthProfileDataBinder binder)
-
-
Method Detail
-
list
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<GoogleMfaAuthAccount> list()
-
delete
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void delete(String owner)
-
delete
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void delete(long id)
-
deleteAll
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void deleteAll()
-
create
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void create(String owner, GoogleMfaAuthAccount account)
-
update
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void update(String owner, GoogleMfaAuthAccount account)
-
read
@PreAuthorize("hasRole(\'ANONYMOUS\')") public List<GoogleMfaAuthAccount> read(String owner)
-
read
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public GoogleMfaAuthAccount read(long id)
-
-