Class PrincipalConfiguration
java.lang.Object
best.skn.security.configurations.PrincipalConfiguration
Principal configuration class for auto-configuring principal 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<PrincipalService> Configuration bean for principal service
-
Constructor Details
-
PrincipalConfiguration
public PrincipalConfiguration()
-
-
Method Details
-
principalService
@Bean Optional<PrincipalService> principalService() throws org.springframework.beans.factory.BeanCreationException, org.springframework.beans.BeanInstantiationException, NullPointerExceptionConfiguration bean for principal service- Returns:
- an Optional of PrincipalService 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
-