Class CsrfConfiguration
java.lang.Object
best.skn.security.configurations.CsrfConfiguration
CSRF configuration class for auto-configuring CSRF service
- Since:
- 2024-03-16
- Version:
- 1.4.0
- Author:
- SKN Shukhan
- Use Case:
- Spring Boot Reactive
- Dedicated To:
- Logno, Atoshi and My Parents
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Optional<CsrfService> Configuration bean for csrf service
-
Constructor Details
-
CsrfConfiguration
public CsrfConfiguration()
-
-
Method Details
-
csrfService
@Bean Optional<CsrfService> csrfService() throws org.springframework.beans.factory.BeanCreationException, org.springframework.beans.BeanInstantiationException, NullPointerExceptionConfiguration bean for csrf service- Returns:
- an Optional of CsrfService object for auto-configuration
- Throws:
org.springframework.beans.factory.BeanCreationException- an exception is thrown if an error occurs while creating beanorg.springframework.beans.BeanInstantiationException- an exception is thrown if an error occurs while instantiating beanNullPointerException- an exception is thrown if null pointer is found- Since:
- v1.4.0
-