All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thebund1st.daming.boot.security.RateLimitingConfiguration Maven / Gradle / Ivy

package com.thebund1st.daming.boot.security;

import com.thebund1st.daming.security.ratelimiting.ErrorsFactory;
import com.thebund1st.daming.security.ratelimiting.RateLimitedAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RateLimitingConfiguration {

    @Bean
    public RateLimitedAspect rateLimitedAspect() {
        return new RateLimitedAspect();
    }

    @Bean
    public ErrorsFactory errorsFactory() {
        return new ErrorsFactory();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy