public class PrincipalStoreEntryModifier extends Object
Constructor and Description |
---|
PrincipalStoreEntryModifier() |
Modifier and Type | Method and Description |
---|---|
PrincipalStoreEntry |
getEntry()
Returns the
PrincipalStoreEntry . |
Map<EncryptionType,EncryptionKey> |
reconstituteKeyMap(org.apache.directory.api.ldap.model.entry.Attribute krb5key)
Converts the ASN.1 encoded key set to a map of encryption types to encryption keys.
|
void |
setDisabled(boolean disabled)
Sets whether the account is disabled.
|
void |
setDistinguishedName(String distinguishedName)
Sets the distinguished name (Dn).
|
void |
setExpiration(KerberosTime expiration)
Sets the expiration time.
|
void |
setKeyMap(Map<EncryptionType,EncryptionKey> keyMap)
Sets the key map.
|
void |
setKeyVersionNumber(int keyVersionNumber)
Sets the key version number.
|
void |
setLockedOut(boolean lockedOut)
Sets whether the account is locked-out.
|
void |
setPrincipal(KerberosPrincipal principal)
Sets the principal.
|
void |
setSamType(SamType samType)
Sets the single-use authentication (SAM) type.
|
public PrincipalStoreEntryModifier()
public PrincipalStoreEntry getEntry()
PrincipalStoreEntry
.PrincipalStoreEntry
.public void setDisabled(boolean disabled)
disabled
- public void setLockedOut(boolean lockedOut)
lockedOut
- public void setExpiration(KerberosTime expiration)
expiration
- public void setDistinguishedName(String distinguishedName)
distinguishedName
- public void setKeyMap(Map<EncryptionType,EncryptionKey> keyMap)
keyMap
- public void setKeyVersionNumber(int keyVersionNumber)
keyVersionNumber
- public void setPrincipal(KerberosPrincipal principal)
principal
- public void setSamType(SamType samType)
samType
- public Map<EncryptionType,EncryptionKey> reconstituteKeyMap(org.apache.directory.api.ldap.model.entry.Attribute krb5key) throws KerberosException
krb5key
- KerberosException
- If the key cannot be converted to a mapCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.