Class RefreshCurrentAuthenticationOnProfileUpdateAspect
- java.lang.Object
-
- org.craftercms.security.utils.profile.RefreshCurrentAuthenticationOnProfileUpdateAspect
-
public class RefreshCurrentAuthenticationOnProfileUpdateAspect extends Object
Aspect forProfileService
that refreshes the current authentication object when the profile associated to the authentication is updated.- Author:
- avasquez
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthenticationCache
authenticationCache
-
Constructor Summary
Constructors Constructor Description RefreshCurrentAuthenticationOnProfileUpdateAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
refreshCurrentAuthentication(org.craftercms.profile.api.Profile updatedProfile)
void
setAuthenticationCache(AuthenticationCache authenticationCache)
-
-
-
Field Detail
-
authenticationCache
protected AuthenticationCache authenticationCache
-
-
Method Detail
-
setAuthenticationCache
public void setAuthenticationCache(AuthenticationCache authenticationCache)
-
refreshCurrentAuthentication
public void refreshCurrentAuthentication(org.craftercms.profile.api.Profile updatedProfile)
-
-