Class MfaService


  • public class MfaService
    extends Object
    • Constructor Detail

      • MfaService

        public MfaService​(org.exoplatform.container.xml.InitParams initParams,
                          MfaStorage mfaStorage,
                          org.exoplatform.commons.api.settings.ExoFeatureService featureService,
                          org.exoplatform.commons.api.settings.SettingService settingService,
                          org.exoplatform.services.listener.ListenerService listenerService)
    • Method Detail

      • isProtectedUri

        public boolean isProtectedUri​(String requestUri)
      • currentUserIsInProtectedGroup

        public boolean currentUserIsInProtectedGroup​(org.exoplatform.services.security.Identity identity)
      • getMfaSystem

        public String getMfaSystem()
      • addRevocationRequest

        public boolean addRevocationRequest​(String username,
                                            String mfaType)
      • hasRevocationRequest

        public boolean hasRevocationRequest​(String username,
                                            String mfaType)
      • deleteRevocationRequest

        public void deleteRevocationRequest​(String username,
                                            String type)
      • confirmRevocationRequest

        public void confirmRevocationRequest​(Long id)
      • cancelRevocationRequest

        public void cancelRevocationRequest​(Long id)
      • getAvailableMfaSystems

        public List<String> getAvailableMfaSystems()
      • saveActiveFeature

        public void saveActiveFeature​(String status)
      • setMfaSystem

        public boolean setMfaSystem​(String mfaSystem)
      • isMfaFeatureActivated

        public boolean isMfaFeatureActivated()
      • saveProtectedGroups

        public void saveProtectedGroups​(String groups)
      • getProtectedGroups

        public List<String> getProtectedGroups()