Class ProfileUser

  • All Implemented Interfaces:
    Serializable, org.springframework.security.core.CredentialsContainer, org.springframework.security.core.userdetails.UserDetails
    Direct Known Subclasses:
    TargetingUser

    public class ProfileUser
    extends CustomUser
    Extension of CustomUser to wrap an Authentication or Profile instance
    Since:
    3.1.5
    Author:
    joseross
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.springframework.security.core.userdetails.User

        org.springframework.security.core.userdetails.User.UserBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.craftercms.security.authentication.Authentication authentication  
      protected org.craftercms.profile.api.Profile profile  
    • Constructor Summary

      Constructors 
      Constructor Description
      ProfileUser​(org.craftercms.profile.api.Profile profile)  
      ProfileUser​(org.craftercms.security.authentication.Authentication auth)  
    • Field Detail

      • authentication

        protected org.craftercms.security.authentication.Authentication authentication
      • profile

        protected org.craftercms.profile.api.Profile profile
    • Constructor Detail

      • ProfileUser

        public ProfileUser​(org.craftercms.security.authentication.Authentication auth)
      • ProfileUser

        public ProfileUser​(org.craftercms.profile.api.Profile profile)