Class HaveIBeenPwnedPasswordRule
- java.lang.Object
-
- org.apache.syncope.core.spring.policy.HaveIBeenPwnedPasswordRule
-
- All Implemented Interfaces:
PasswordRule
public class HaveIBeenPwnedPasswordRule extends Object implements PasswordRule
-
-
Constructor Summary
Constructors Constructor Description HaveIBeenPwnedPasswordRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
enforce(String clearPassword)
void
enforce(String username, String clearPassword)
void
enforce(LinkedAccount account)
void
enforce(User user, String clearPassword)
HaveIBeenPwnedPasswordRuleConf
getConf()
void
setConf(PasswordRuleConf conf)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
Method Detail
-
getConf
public HaveIBeenPwnedPasswordRuleConf getConf()
- Specified by:
getConf
in interfacePasswordRule
-
setConf
public void setConf(PasswordRuleConf conf)
- Specified by:
setConf
in interfacePasswordRule
-
enforce
protected void enforce(String clearPassword)
-
enforce
public void enforce(String username, String clearPassword)
- Specified by:
enforce
in interfacePasswordRule
-
enforce
@Transactional(readOnly=true) public void enforce(User user, String clearPassword)
- Specified by:
enforce
in interfacePasswordRule
-
enforce
@Transactional(readOnly=true) public void enforce(LinkedAccount account)
- Specified by:
enforce
in interfacePasswordRule
-
-