Class RefreshCurrentAuthenticationOnProfileUpdateAspect


  • public class RefreshCurrentAuthenticationOnProfileUpdateAspect
    extends Object
    Aspect for ProfileService that refreshes the current authentication object when the profile associated to the authentication is updated.
    Author:
    avasquez
    • Constructor Detail

      • RefreshCurrentAuthenticationOnProfileUpdateAspect

        public RefreshCurrentAuthenticationOnProfileUpdateAspect()
    • Method Detail

      • setAuthenticationCache

        public void setAuthenticationCache​(AuthenticationCache authenticationCache)
      • refreshCurrentAuthentication

        public void refreshCurrentAuthentication​(org.craftercms.profile.api.Profile updatedProfile)