public class KeyDerivationInterceptor
extends org.apache.directory.server.core.api.interceptor.BaseInterceptor
Interceptor that creates symmetric Kerberos keys for users. When a
'userPassword' is added or modified, the 'userPassword' and 'krb5PrincipalName'
are used to derive Kerberos keys. If the 'userPassword' is the special keyword
'randomKey', a random key is generated and used as the Kerberos key.ACCESS_CONTROL_SUBENTRIES_AT, ADMINISTRATIVE_ROLE_AT, COLLECTIVE_ATTRIBUTE_SUBENTRIES_AT, COLLECTIVE_EXCLUSIONS_AT, CREATE_TIMESTAMP_AT, CREATORS_NAME_AT, directoryService, dnFactory, ENTRY_ACI_AT, ENTRY_CSN_AT, ENTRY_DN_AT, ENTRY_UUID_AT, MODIFIERS_NAME_AT, MODIFY_TIMESTAMP_AT, OBJECT_CLASS_AT, PWD_POLICY_STATE_ATTRIBUTE_TYPES, schemaManager, SUBENTRY_ACI_AT, SUBSCHEMA_SUBENTRY_AT, SUBTREE_SPECIFICATION_AT, TRIGGER_EXECUTION_SUBENTRIES_AT, UNIQUE_MEMBER_AT| Constructor and Description |
|---|
KeyDerivationInterceptor()
Creates an instance of a KeyDerivationInterceptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.directory.server.core.api.interceptor.context.AddOperationContext addContext)
Intercepts the addition of the 'userPassword' and 'krb5PrincipalName' attributes.
|
void |
init(org.apache.directory.server.core.api.DirectoryService directoryService) |
void |
modify(org.apache.directory.server.core.api.interceptor.context.ModifyOperationContext modContext)
Intercept the modification of the 'userPassword' attribute.
|
bind, compare, delete, destroy, getName, getNextInterceptor, getPrincipal, getRootDse, hasEntry, lookup, move, moveAndRename, next, next, next, next, next, next, next, next, next, next, next, next, next, rename, search, unbindpublic KeyDerivationInterceptor()
public void init(org.apache.directory.server.core.api.DirectoryService directoryService)
throws org.apache.directory.api.ldap.model.exception.LdapException
init in interface org.apache.directory.server.core.api.interceptor.Interceptorinit in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void add(org.apache.directory.server.core.api.interceptor.context.AddOperationContext addContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
add in interface org.apache.directory.server.core.api.interceptor.Interceptoradd in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void modify(org.apache.directory.server.core.api.interceptor.context.ModifyOperationContext modContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
modify in interface org.apache.directory.server.core.api.interceptor.Interceptormodify in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.