org.silverpeas.password.web
Class PasswordCheckEntity

java.lang.Object
  extended by org.silverpeas.password.web.PasswordCheckEntity

public class PasswordCheckEntity
extends Object

Author:
Yohann Chastagnier

Constructor Summary
protected PasswordCheckEntity()
           
 
Method Summary
static PasswordCheckEntity createFrom(PasswordCheck passwordCheck)
          Creates a new password check entity
 Collection<String> getCombinedRuleIdsInError()
           
 Collection<String> getRequiredRuleIdsInError()
           
 boolean isCorrect()
           
 boolean isRuleCombinationRespected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordCheckEntity

protected PasswordCheckEntity()
Method Detail

createFrom

public static PasswordCheckEntity createFrom(PasswordCheck passwordCheck)
Creates a new password check entity

Returns:
the entity representing the password rule checking.

isCorrect

public boolean isCorrect()

isRuleCombinationRespected

public boolean isRuleCombinationRespected()

getRequiredRuleIdsInError

public Collection<String> getRequiredRuleIdsInError()

getCombinedRuleIdsInError

public Collection<String> getCombinedRuleIdsInError()


Copyright © 2016 Silverpeas. All Rights Reserved.