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(AuthenticationCache authenticationCache)
  • Method Details

    • refreshCurrentAuthentication

      public void refreshCurrentAuthentication(Profile updatedProfile)