Class RefreshCurrentAuthenticationOnProfileUpdateAspect
java.lang.Object
org.craftercms.security.utils.profile.RefreshCurrentAuthenticationOnProfileUpdateAspect
Aspect for
ProfileService that refreshes the current authentication
object when the profile associated to the authentication is updated.- Author:
- avasquez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrefreshCurrentAuthentication(org.craftercms.profile.api.Profile updatedProfile) voidsetAuthenticationCache(AuthenticationCache authenticationCache)
-
Field Details
-
authenticationCache
-
-
Constructor Details
-
RefreshCurrentAuthenticationOnProfileUpdateAspect
public RefreshCurrentAuthenticationOnProfileUpdateAspect()
-
-
Method Details
-
setAuthenticationCache
-
refreshCurrentAuthentication
public void refreshCurrentAuthentication(org.craftercms.profile.api.Profile updatedProfile)
-