Class AdminfacesAutoConfiguration
- java.lang.Object
-
- org.joinfaces.autoconfigure.adminfaces.AdminfacesAutoConfiguration
-
@AutoConfiguration(before=PrimefacesAutoConfiguration.class) @EnableConfigurationProperties(AdminfacesProperties.class) @ComponentScan({"com.github.adminfaces.template.bean","com.github.adminfaces.template.config","com.github.adminfaces.template.security"}) @ServletComponentScan({"com.github.adminfaces.template.security","com.github.adminfaces.template.session"}) @ConditionalOnClass(com.github.adminfaces.template.session.AdminSession.class) @ConditionalOnWebApplication(type=SERVLET) public class AdminfacesAutoConfiguration extends Object
Spring Boot Auto Configuration of AdminFaces.
-
-
Constructor Summary
Constructors Constructor Description AdminfacesAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanPostProcessor
adminfacesPrimeFacesPropertiesPostProcessor()
com.github.adminfaces.template.session.AdminSession
adminSession()
WebFragmentRegistrationBean
adminTemplateWebFragmentRegistrationBean()
ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of theadmin-template.jar
.WebFragmentRegistrationBean
adminThemeWebFragmentRegistrationBean()
ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of theadmin-theme.jar
.SpringSecurityAdminSession
springSecurityAdminSession()
-
-
-
Method Detail
-
adminfacesPrimeFacesPropertiesPostProcessor
@Bean public BeanPostProcessor adminfacesPrimeFacesPropertiesPostProcessor()
-
springSecurityAdminSession
@Bean("adminSession") @ConditionalOnMissingBean @ConditionalOnClass(name="org.springframework.security.core.context.SecurityContextHolder") @Scope(value="session", proxyMode=TARGET_CLASS) public SpringSecurityAdminSession springSecurityAdminSession()
-
adminSession
@Bean("adminSession") @ConditionalOnMissingBean @ConditionalOnMissingClass("org.springframework.security.core.context.SecurityContextHolder") @Scope(value="session", proxyMode=TARGET_CLASS) public com.github.adminfaces.template.session.AdminSession adminSession()
-
adminTemplateWebFragmentRegistrationBean
@Bean public WebFragmentRegistrationBean adminTemplateWebFragmentRegistrationBean()
ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of theadmin-template.jar
.- Returns:
- adminTemplateWebFragmentRegistrationBean
-
adminThemeWebFragmentRegistrationBean
@Bean public WebFragmentRegistrationBean adminThemeWebFragmentRegistrationBean()
ThisWebFragmentRegistrationBean
is equivalent to theMETA-INF/web-fragment.xml
of theadmin-theme.jar
.- Returns:
- adminThemeWebFragmentRegistrationBean
-
-