public interface VaadinSharedSecurity extends VaadinSecurity
VaadinSecurity that is used when Vaadin is participating
in an existing Spring Web Security setup.| Modifier and Type | Method and Description |
|---|---|
Authentication |
login(Authentication authentication,
boolean rememberMe)
Tries to login using the specified authentication object.
|
Authentication |
login(String username,
String password,
boolean rememberMe)
Convenience method that invokes
VaadinSecurity.login(org.springframework.security.core.Authentication) with a
UsernamePasswordAuthenticationToken-object. |
getAuthentication, hasAccessToObject, hasAccessToSecuredMethod, hasAccessToSecuredObject, hasAnyAuthority, hasAuthorities, hasAuthority, isAuthenticated, isAuthenticatedAnonymously, isFullyAuthenticated, isRememberMeAuthenticated, login, login, logoutgetAccessDecisionManager, getApplicationContext, getAuthenticationManager, getRememberMeServices, hasAccessDecisionManager, hasAuthenticationManagerAuthentication login(Authentication authentication, boolean rememberMe) throws AuthenticationException, Exception
authentication - the authentication object to authenticate, must not be null.rememberMe - boolean to indicate if remember me authentication should be activatedAuthentication token.AuthenticationException - if authentication fails.ExceptionAuthentication login(String username, String password, boolean rememberMe) throws AuthenticationException, Exception
VaadinSecurity.login(org.springframework.security.core.Authentication) with a
UsernamePasswordAuthenticationToken-object.username - the username to use, must not be null.password - the password to use, must not be null.rememberMe - boolean to set remember me authenticationAuthentication token.AuthenticationException - if authentication fails.ExceptionCopyright © 2017. All rights reserved.