public abstract class AbstractVaadinSecurity extends Object implements ApplicationContextAware, InitializingBean, VaadinSecurityContext
VaadinSecurity| Constructor and Description |
|---|
AbstractVaadinSecurity() |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic ApplicationContext getApplicationContext()
getApplicationContext in interface VaadinSecurityContextApplicationContextpublic AuthenticationManager getAuthenticationManager()
AuthenticationManager
return null if not available.getAuthenticationManager in interface VaadinSecurityContextAuthenticationManagerpublic AccessDecisionManager getAccessDecisionManager()
AccessDecisionManager
return null if not available.getAccessDecisionManager in interface VaadinSecurityContextAccessDecisionManagerpublic SessionAuthenticationStrategy getSessionAuthenticationStrategy()
SessionAuthenticationStrategy
return NullAuthenticatedSessionStrategy if not configuredgetSessionAuthenticationStrategy in interface VaadinSecurityContextSessionAuthenticationStrategypublic boolean hasAccessDecisionManager()
hasAccessDecisionManager in interface VaadinSecurityContextpublic void addAuthenticationSuccessHandler(VaadinAuthenticationSuccessHandler handler)
addAuthenticationSuccessHandler in interface VaadinSecurityContextpublic boolean hasAuthenticationSuccessHandlerConfigured()
hasAuthenticationSuccessHandlerConfigured in interface VaadinSecurityContexttrue if configured, else falseprotected VaadinAuthenticationSuccessHandler getAuthenticationSuccessHandler()
AuthenticationSuccessHandler if configured else return nullpublic void addAuthenticationFailureHandler(VaadinAuthenticationFailureHandler handler)
addAuthenticationFailureHandler in interface VaadinSecurityContextpublic boolean hasAuthenticationFailureHandlerConfigured()
hasAuthenticationFailureHandlerConfigured in interface VaadinSecurityContexttrue if configured, else falseprotected VaadinAuthenticationFailureHandler getAuthenticationFailureHandler()
AuthenticationFailureHandler if configured else return nullCopyright © 2015. All rights reserved.