Class MfaRestService

  • All Implemented Interfaces:
    org.exoplatform.services.rest.resource.ResourceContainer

    public class MfaRestService
    extends Object
    implements org.exoplatform.services.rest.resource.ResourceContainer
    • Constructor Detail

      • MfaRestService

        public MfaRestService​(MfaService mfaService)
    • Method Detail

      • getMfaSystem

        @RolesAllowed("users")
        public javax.ws.rs.core.Response getMfaSystem​(@Context
                                                      javax.servlet.http.HttpServletRequest request)
      • getAvalailableMfaSystems

        @RolesAllowed("users")
        public javax.ws.rs.core.Response getAvalailableMfaSystems()
      • changeMfaFeatureActivation

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response changeMfaFeatureActivation​(String status)
      • getRevocationRequests

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response getRevocationRequests()
      • updateRevocationRequests

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response updateRevocationRequests​(String id,
                                                                  String status)
      • addRevocationRequest

        @RolesAllowed("users")
        public javax.ws.rs.core.Response addRevocationRequest​(String type)
      • changeMfaSystem

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response changeMfaSystem​(String mfaSystem)
      • saveProtectedGroups

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response saveProtectedGroups​(String groups)
      • getProtectedGroups

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response getProtectedGroups()