Login Problem | Community
Skip to main content
unai_sarasola
Level 2
October 16, 2015
Solved

Login Problem

  • October 16, 2015
  • 2 replies
  • 643 views

Hi,

I have the code below but I'm unable to obtain the name or the login working. Is always showing me Anonymous Surfer when I'm logged as admin or author.

Do you know what I'm doing wrong?

 

<%@page import="com.day.cq.personalization.UserPropertiesUtil" %><%@taglib prefix="personalization" uri="http://www.day.com/taglibs/cq/personalization/1.0" %><%@page session="false"%><% %><%@include file="/libs/foundation/global.jsp" %><% %><%@page pageEncoding="UTF-8"%> <cq:include path="clientcontext" resourceType="cq/personalization/components/clientcontext"/> <div> Hello, <div><personalization:contextProfileProperty propertyName="formattedName"/></div> <form method="POST" action="/j_security_check" enctype="multipart/form-data"> <input type="text" name="j_username" id="j_username"> <input type="text" name="j_password" id="j_password"> <input type="submit" value="Submit"> </form> </div>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

Here is good article on your use case at adobe https://helpx.adobe.com/experience-manager/using/secure_sites.html

2 replies

edubey
edubeyAccepted solution
Level 10
October 16, 2015

Here is good article on your use case at adobe https://helpx.adobe.com/experience-manager/using/secure_sites.html

unai_sarasola
Level 2
October 16, 2015

Thank you ;)