Class AuthenticationAuthoritiesUpdaterImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.core.Authentication updateAuthentication​(org.springframework.security.core.Authentication authentication, java.util.List<org.springframework.security.core.GrantedAuthority> updatedAuthorities)
      Update an Authentication with new authorities.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthenticationAuthoritiesUpdaterImpl

        public AuthenticationAuthoritiesUpdaterImpl()
    • Method Detail

      • updateAuthentication

        public org.springframework.security.core.Authentication updateAuthentication​(org.springframework.security.core.Authentication authentication,
                                                                                     java.util.List<org.springframework.security.core.GrantedAuthority> updatedAuthorities)
        Description copied from interface: AuthenticationAuthoritiesUpdater
        Update an Authentication with new authorities.
        Specified by:
        updateAuthentication in interface AuthenticationAuthoritiesUpdater
        Returns:
        updated authentication or new authentication with updated authorities