public class PasswordPolicyInterceptor extends BaseInterceptor
Interceptor
that enforces password policy for users. Add or modify operations
on the 'userPassword' attribute are checked against a password policy. The password is
rejected if it does not pass the password policy checks. The password MUST be passed to
the core as plaintext.Constructor and Description |
---|
PasswordPolicyInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
add(NextInterceptor next,
AddOperationContext addContext)
Check added attributes for a 'userPassword'.
|
void |
modify(NextInterceptor next,
ModifyOperationContext modContext)
Check modification items for a 'userPassword'.
|
addContextPartition, bind, compare, delete, destroy, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, init, list, listSuffixes, lookup, move, moveAndRename, removeContextPartition, rename, search, unbind
public static final String NAME
public void add(NextInterceptor next, AddOperationContext addContext) throws Exception
add
in interface Interceptor
add
in class BaseInterceptor
Exception
public void modify(NextInterceptor next, ModifyOperationContext modContext) throws Exception
modify
in interface Interceptor
modify
in class BaseInterceptor
Exception
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.