public interface VaadinSecurityContext
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthenticationFailureHandler(VaadinAuthenticationFailureHandler handler)
|
void |
addAuthenticationSuccessHandler(VaadinAuthenticationSuccessHandler handler)
|
AccessDecisionManager |
getAccessDecisionManager()
Get the configured
AccessDecisionManager
return null if not available. |
ApplicationContext |
getApplicationContext()
Get the current Spring ApplicationContext
|
AuthenticationManager |
getAuthenticationManager()
Get the configured
AuthenticationManager
return null if not available. |
SessionAuthenticationStrategy |
getSessionAuthenticationStrategy()
Get the configured
SessionAuthenticationStrategy
return NullAuthenticatedSessionStrategy if not configured |
boolean |
hasAccessDecisionManager()
Checks if the Security bean has an accessDecisionManager
|
boolean |
hasAuthenticationFailureHandlerConfigured()
|
boolean |
hasAuthenticationSuccessHandlerConfigured()
|
ApplicationContext getApplicationContext()
ApplicationContextAuthenticationManager getAuthenticationManager()
AuthenticationManager
return null if not available.AuthenticationManagerAccessDecisionManager getAccessDecisionManager()
AccessDecisionManager
return null if not available.AccessDecisionManagerSessionAuthenticationStrategy getSessionAuthenticationStrategy()
SessionAuthenticationStrategy
return NullAuthenticatedSessionStrategy if not configuredSessionAuthenticationStrategyboolean hasAccessDecisionManager()
void addAuthenticationSuccessHandler(VaadinAuthenticationSuccessHandler handler)
boolean hasAuthenticationSuccessHandlerConfigured()
true if configured, else falsevoid addAuthenticationFailureHandler(VaadinAuthenticationFailureHandler handler)
boolean hasAuthenticationFailureHandlerConfigured()
true if configured, else falseCopyright © 2015. All rights reserved.