Skip to main content
unai_sarasola
Level 2
Oct 16, 2015 2:28 AM UTC
Solved

Login Problem

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.
edubey
edubeyAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

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

2 replies

unai_sarasola
Level 2
Oct 16, 2015 2:28 AM UTC

Thank you ;)

Translate
edubey
edubeyAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

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

Translate