| Package | Description |
|---|---|
| org.apache.directory.server.config.builder | |
| org.apache.directory.server.core.authn | |
| org.apache.directory.server.core.authn.ppolicy |
| Modifier and Type | Method and Description |
|---|---|
static PasswordPolicyConfiguration |
ServiceBuilder.createPwdPolicyConfig(PasswordPolicyBean passwordPolicyBean)
creates the PassworddPolicyConfiguration object after reading the config entry containing pwdpolicy OC
|
| Modifier and Type | Method and Description |
|---|---|
PasswordPolicyConfiguration |
AuthenticationInterceptor.getPwdPolicy(org.apache.directory.api.ldap.model.entry.Entry userEntry)
Gets the effective password policy of the given entry.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
AuthenticationInterceptor.check(OperationContext operationContext,
org.apache.directory.api.ldap.model.entry.Entry entry,
byte[] password,
PasswordPolicyConfiguration policyConfig) |
private void |
AuthenticationInterceptor.checkChangePwdAllowed(ModifyOperationContext modifyContext,
PasswordPolicyConfiguration policyConfig,
boolean isPPolicyReqCtrlPresent)
check that if the password modification is allowed by the PP config, or if the session is
the admin.
|
private void |
AuthenticationInterceptor.checkOldPwdRequired(ModifyOperationContext modifyContext,
PasswordPolicyConfiguration policyConfig,
AuthenticationInterceptor.PwdModDetailsHolder pwdModDetails,
boolean isPPolicyReqCtrlPresent)
If the PP config request it, the old password must be supplied in the modifications.
|
private AuthenticationInterceptor.PwdModDetailsHolder |
AuthenticationInterceptor.getPwdModDetails(ModifyOperationContext modifyContext,
PasswordPolicyConfiguration policyConfig) |
private int |
AuthenticationInterceptor.getPwdTimeBeforeExpiry(org.apache.directory.api.ldap.model.entry.Entry userEntry,
PasswordPolicyConfiguration policyConfig) |
private boolean |
AuthenticationInterceptor.isPwdTooYoung(OperationContext operationContext,
org.apache.directory.api.ldap.model.entry.Entry userEntry,
PasswordPolicyConfiguration policyConfig)
checks if the password is too young
|
private void |
AuthenticationInterceptor.purgeFailureTimes(PasswordPolicyConfiguration config,
org.apache.directory.api.ldap.model.entry.Attribute pwdFailTimeAt)
purges failure timestamps which are older than the configured interval
(section 7.6 in the draft)
|
private void |
AuthenticationInterceptor.validatePasswordLength(java.lang.String password,
PasswordPolicyConfiguration policyConfig)
validates the length of the password
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<org.apache.directory.api.ldap.model.name.Dn,PasswordPolicyConfiguration> |
PpolicyConfigContainer.ppolicyConfigMap
a map holding the entry specific password policies
|
| Modifier and Type | Method and Description |
|---|---|
PasswordPolicyConfiguration |
PpolicyConfigContainer.getDefaultPolicy() |
PasswordPolicyConfiguration |
PpolicyConfigContainer.getPolicyConfig(org.apache.directory.api.ldap.model.name.Dn configDn)
Get the password policy configuration defined at a given Dn
|
PasswordPolicyConfiguration |
PpolicyConfigContainer.removePolicyConfig(org.apache.directory.api.ldap.model.name.Dn ppolicyConfigDn)
deactivate an existing password policy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PpolicyConfigContainer.addPolicy(org.apache.directory.api.ldap.model.name.Dn configDn,
PasswordPolicyConfiguration policyConfig)
add a entry specific policy
|