Skip to content

Commit

Permalink
MOSIP-34514 Removed component
Browse files Browse the repository at this point in the history
Signed-off-by: kameshsr <[email protected]>
  • Loading branch information
kameshsr committed Oct 23, 2024
1 parent c75969e commit 630abce
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import org.apache.commons.io.IOUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;

Expand All @@ -35,7 +34,7 @@
* @author Manoj SP
* @author Sanjay Murali
*/
@Component

public abstract class BaseAuthFilter extends BaseIDAFilter {

private static final String SIGNATURE_HEADER = "signature header";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author Dinesh Karuppiah.T
*/
@Component

public class DefaultAuthTypeFilter extends DefaultInternalFilter {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import java.util.Objects;
import java.util.stream.Collectors;

import org.springframework.stereotype.Component;

import io.mosip.authentication.core.constant.IdAuthCommonConstants;
import io.mosip.authentication.core.constant.IdAuthConfigKeyConstants;
import io.mosip.authentication.core.exception.IdAuthenticationAppException;
Expand All @@ -21,7 +19,7 @@
*
* @author Manoj SP
*/
@Component

public class DefaultInternalFilter extends InternalAuthFilter {

/* (non-Javadoc)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
* @author Loganathan Sekar
* @author Nagarjuna K
*/
@Component

public abstract class IdAuthFilter extends BaseAuthFilter {

private static Logger mosipLogger = IdaLogger.getLogger(IdAuthFilter.class);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package io.mosip.authentication.common.service.filter;

import org.springframework.stereotype.Component;

@Component
public class InternalOtpFilter extends DefaultInternalFilter {

protected boolean needStoreAuthTransaction() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import java.util.Objects;
import java.util.stream.Collectors;

import org.springframework.stereotype.Component;

import io.mosip.authentication.common.service.filter.IdAuthFilter;
import io.mosip.authentication.common.service.filter.ResettableStreamHttpServletRequest;
import io.mosip.authentication.core.constant.IdAuthenticationErrorConstants;
Expand All @@ -21,7 +19,7 @@
*
* @author Manoj SP
*/
@Component

public class OTPFilter extends IdAuthFilter {

/** The Constant AUTH. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import io.mosip.authentication.common.service.filter.IdAuthFilter;
import io.mosip.authentication.common.service.filter.ResettableStreamHttpServletRequest;
import io.mosip.authentication.core.constant.IdAuthCommonConstants;
Expand All @@ -21,7 +19,7 @@
*
* @author Mahammed Taheer
*/
@Component

public class IdentityKeyBindingFilter extends IdAuthFilter {

private static Logger mosipLogger = IdaLogger.getLogger(IdentityKeyBindingFilter.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import java.util.Map;
import java.util.Set;

import org.springframework.stereotype.Component;

import io.mosip.authentication.common.service.filter.IdAuthFilter;
import io.mosip.authentication.common.service.filter.ResettableStreamHttpServletRequest;
import io.mosip.authentication.common.service.util.AuthTypeUtil;
Expand All @@ -25,7 +23,7 @@
*
* @author Mahammed Taheer
*/
@Component

public class KycAuthFilter extends IdAuthFilter {

private static Logger mosipLogger = IdaLogger.getLogger(KycAuthFilter.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import io.mosip.authentication.common.service.filter.IdAuthFilter;
import io.mosip.authentication.common.service.filter.ResettableStreamHttpServletRequest;
import io.mosip.authentication.core.constant.IdAuthenticationErrorConstants;
Expand All @@ -17,7 +15,7 @@
*
* @author Sanjay Murali
*/
@Component

public class KycAuthenticationFilter extends IdAuthFilter {

/** The Constant KYC. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import io.mosip.authentication.common.service.filter.IdAuthFilter;
import io.mosip.authentication.common.service.filter.ResettableStreamHttpServletRequest;
import io.mosip.authentication.core.constant.IdAuthCommonConstants;
Expand All @@ -21,7 +19,7 @@
*
* @author Mahammed Taheer
*/
@Component

public class KycExchangeFilter extends IdAuthFilter {

private static Logger mosipLogger = IdaLogger.getLogger(KycAuthFilter.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* @author Mahammed Taheer
*/
@Component

public class VciExchangeFilter extends IdAuthFilter {

private static Logger mosipLogger = IdaLogger.getLogger(VciExchangeFilter.class);
Expand Down

0 comments on commit 630abce

Please sign in to comment.