Skip to Content
author's profile photo Former Member
Former Member

Implement HMC Password Expiration and Reset on Login

Hello,

We want to implement password expiration policy (Hybris version: 5.4.0.3 with B2C Accelerator) so that users need to reset there password after specific expiry period and need to enter new password while login to HMC.

Really appreciate if anyone can share any pointers/ideas for its implementation.

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2016 at 05:29 PM
    -1

    Hi, Faizaan,

    There is one default implementation bruteForceAttackCounter to avoid the bruteForce attach of web site. One example locates in file hybris/bin/ext-template/ycommercewebservices/web/webroot/WEB-INF/config/security-spring.xml

         <!-- Preventing brute force attack -->
         <bean id="bruteForceAttackCounter" class="de.hybris.platform.ycommercewebservices.security.impl.DefaultBruteForceAttackCounter">
             <constructor-arg name="maxFailedLogins" value="5" />
             <constructor-arg name="cacheExpiration" value="60" />
             <constructor-arg name="cacheSizeLimit" value="1000" />
         </bean>
    
    

    It can be reused to make HMC login as you preferred.

    Regards

    Haitao

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.