ATG Maintain Profile for Guest or Anonymous User

Guest are anonymous users, who have not registered.

1 .Set  “persistenceAnonymousProfile” property of the  /atg/dynamo/servlet/dafpipeline/ProfileServletRequest to true with new profile will create in database for each anonymous.


2. Set “persistAfterLogout”  property of the /atg/dynamo/servlet/dafpipeline/ProfileServletRequest to true.


3.Set the “profileRequestTools property of the /atg/dynamo/servlet/dafpipeline/ProfileRequestServlet component to /atg/userprofiling/ProfileRequestTools.


4. Enable auto-login by setting the “autoLogin property to true in the userprofile.xml file.

    Example: Store anonymous users:
    # /atg/dynamo/servlet/dafpipeline/ProfileServletRequest
       persistAfterLogout=true
        persisteAnonymousProfiles=true
   
Note: If you set up the auto-login.

    #CookiesManage
     sendProfileCookies=true
    #ProfileRequestServlet
      varifyBasicAuthantication=false  (check password verification,Password are store in(SHA-256) rehashes)

No comments: