Class SpringSecurityProfileManager


  • public class SpringSecurityProfileManager
    extends org.pac4j.core.profile.ProfileManager<org.pac4j.core.profile.CommonProfile>
    Specific profile manager for Spring Security.
    Since:
    2.0.1
    Author:
    Jerome Leleu
    • Field Summary

      • Fields inherited from class org.pac4j.core.profile.ProfileManager

        config, context, logger, sessionStore
    • Constructor Summary

      Constructors 
      Constructor Description
      SpringSecurityProfileManager​(org.pac4j.core.context.WebContext context)  
      SpringSecurityProfileManager​(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext> sessionStore)  
    • Constructor Detail

      • SpringSecurityProfileManager

        public SpringSecurityProfileManager​(org.pac4j.core.context.WebContext context)
      • SpringSecurityProfileManager

        public SpringSecurityProfileManager​(org.pac4j.core.context.WebContext context,
                                            org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext> sessionStore)
    • Method Detail

      • saveAll

        protected void saveAll​(LinkedHashMap<String,​org.pac4j.core.profile.CommonProfile> profiles,
                               boolean saveInSession)
        Overrides:
        saveAll in class org.pac4j.core.profile.ProfileManager<org.pac4j.core.profile.CommonProfile>
      • remove

        public void remove​(boolean removeFromSession)
        Overrides:
        remove in class org.pac4j.core.profile.ProfileManager<org.pac4j.core.profile.CommonProfile>