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.
<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.
<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.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.