April 14, 2020
Estimated Post Reading Time ~

Building Secure Adobe Experience Manager Web Sites

You can create secure Adobe Experience Manager web sites that require users to login in order to view a site's content. AEM supports form-based authentication that requires a web site visitor to enter a user name and password, as shown in the following illustration.


AEM form-based authentication displays a login form (as shown in the previous illustration). When the user fills in the login form and submits the data, AEM stores the successful authentication in a Cookie or an HTTP Session. If the authentication is unsuccessful, then an error message is displayed.

By default, the URL of a form submission has to end with /j_security_check. That is, a login Form Action can POST to <anything>/j_security_check

For example:
<form action="${homePage.path}/j_security_check

The user name and password names must be j_username and j_password. 

For example:
<div class="form-group">
<label for="j_username">Username</label> <input type="text"
name="j_username">
</div>
<div class="form-group">
<label for="j_password">Password</label> <input type="password"
name="j_password">
</div>


To read this development article, click https://helpx.adobe.com/experience-manager/using/secure_sites.html.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.