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.| 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–2017 The Apache Software Foundation. All rights reserved.