Skip to content

Commit

Permalink
Remove fido u2f (#989)
Browse files Browse the repository at this point in the history
* feat: remove fido u2f endpoints #978

* feat: remove fido u2f endpoints #978

* feat: remove fido u2f endpoints #978

* feat: remove fido u2f endpoints #978
  • Loading branch information
yurem authored Mar 7, 2022
1 parent 7ee41a7 commit 452ce0f
Show file tree
Hide file tree
Showing 26 changed files with 18 additions and 4,113 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,25 @@

package io.jans.as.server.service;

import java.util.Date;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;

import javax.ejb.DependsOn;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Event;
import javax.enterprise.event.Observes;
import javax.inject.Inject;
import javax.inject.Named;

import org.slf4j.Logger;

import com.google.common.base.Stopwatch;
import com.google.common.collect.Maps;

import io.jans.as.common.model.registration.Client;
import io.jans.as.model.config.StaticConfiguration;
import io.jans.as.model.configuration.AppConfiguration;
Expand All @@ -19,7 +36,6 @@
import io.jans.as.server.model.fido.u2f.RegisterRequestMessageLdap;
import io.jans.as.server.model.ldap.ClientAuthorization;
import io.jans.as.server.model.ldap.TokenEntity;
import io.jans.as.server.service.fido.u2f.RequestService;
import io.jans.as.server.uma.authorization.UmaPCT;
import io.jans.as.server.uma.service.UmaPctService;
import io.jans.as.server.uma.service.UmaResourceService;
Expand All @@ -33,20 +49,6 @@
import io.jans.service.cdi.event.Scheduled;
import io.jans.service.timer.event.TimerEvent;
import io.jans.service.timer.schedule.TimerSchedule;
import org.slf4j.Logger;

import javax.ejb.DependsOn;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Event;
import javax.enterprise.event.Observes;
import javax.inject.Inject;
import javax.inject.Named;
import java.util.Date;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;

/**
* @author Yuriy Zabrovarnyy
Expand Down Expand Up @@ -76,10 +78,6 @@ public class CleanerTimer {
@Inject
private CacheProvider cacheProvider;

@Inject
@Named("u2fRequestService")
private RequestService u2fRequestService;

@Inject
private AppConfiguration appConfiguration;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
import io.jans.as.server.uma.ws.rs.UmaScopeIconWS;
import io.jans.as.server.uma.ws.rs.UmaScopeWS;
import io.jans.as.server.userinfo.ws.rs.UserInfoRestWebServiceImpl;
import io.jans.as.server.ws.rs.fido.u2f.U2fAuthenticationWS;
import io.jans.as.server.ws.rs.fido.u2f.U2fConfigurationWS;
import io.jans.as.server.ws.rs.fido.u2f.U2fRegistrationWS;
import io.jans.as.server.ws.rs.stat.StatWS;

import javax.ws.rs.ApplicationPath;
Expand Down Expand Up @@ -74,10 +71,6 @@ public Set<Class<?>> getClasses() {
classes.add(UmaScopeIconWS.class);
classes.add(UmaScopeWS.class);

classes.add(U2fConfigurationWS.class);
classes.add(U2fAuthenticationWS.class);
classes.add(U2fRegistrationWS.class);

classes.add(CheckSessionStatusRestWebServiceImpl.class);

classes.add(DeviceAuthorizationRestWebServiceImpl.class);
Expand Down

This file was deleted.

Loading

0 comments on commit 452ce0f

Please sign in to comment.