Class PrincipalConfiguration

java.lang.Object
best.skn.security.configurations.PrincipalConfiguration

@Configuration public class PrincipalConfiguration extends Object
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 Details

    • PrincipalConfiguration

      public PrincipalConfiguration()
  • Method Details

    • principalService

      @Bean Optional<PrincipalService> principalService() throws org.springframework.beans.factory.BeanCreationException, org.springframework.beans.BeanInstantiationException, NullPointerException
      Configuration 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 bean
      org.springframework.beans.BeanInstantiationException - an exception is thrown if an error occurs while instantiating bean
      NullPointerException - an exception is thrown if null pointer is found
      Since:
      v1.4.0