Class RefreshCurrentAuthenticationOnProfileUpdateAspect

java.lang.Object
org.craftercms.security.utils.profile.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
  • Field Details

  • Constructor Details

    • RefreshCurrentAuthenticationOnProfileUpdateAspect

      public RefreshCurrentAuthenticationOnProfileUpdateAspect()
  • Method Details

    • setAuthenticationCache

      public void setAuthenticationCache(AuthenticationCache authenticationCache)
    • refreshCurrentAuthentication

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