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 |
setCommonName(String commonName)
Sets the common name (cn).
|
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 |
setKDCFlags(int kdcFlags)
Sets the KDC flags.
|
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 |
setMaxLife(int maxLife)
Sets the ticket maximum life time.
|
void |
setMaxRenew(int maxRenew)
Sets the ticket maximum renew time.
|
void |
setPasswordEnd(KerberosTime passwordEnd)
Sets the end-of-life for the password.
|
void |
setPrincipal(KerberosPrincipal principal)
Sets the principal.
|
void |
setRealmName(String realmName)
Sets the realm.
|
void |
setSamType(SamType samType)
Sets the single-use authentication (SAM) type.
|
void |
setUserId(String userId)
Sets the user ID.
|
void |
setValidEnd(KerberosTime validEnd)
Sets the end of validity.
|
void |
setValidStart(KerberosTime validStart)
Sets the start of validity.
|
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 setCommonName(String commonName)
commonName - public void setUserId(String userId)
userId - public void setKDCFlags(int kdcFlags)
kdcFlags - public void setKeyMap(Map<EncryptionType,EncryptionKey> keyMap)
keyMap - public void setKeyVersionNumber(int keyVersionNumber)
keyVersionNumber - public void setMaxLife(int maxLife)
maxLife - public void setMaxRenew(int maxRenew)
maxRenew - public void setPasswordEnd(KerberosTime passwordEnd)
passwordEnd - public void setPrincipal(KerberosPrincipal principal)
principal - public void setRealmName(String realmName)
realmName - public void setValidEnd(KerberosTime validEnd)
validEnd - public void setValidStart(KerberosTime validStart)
validStart - public void setSamType(SamType samType)
samType - public Map<EncryptionType,EncryptionKey> reconstituteKeyMap(org.apache.directory.api.ldap.model.entry.Attribute krb5key) throws KerberosException, org.apache.directory.api.ldap.model.exception.LdapException
krb5key - org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionKerberosExceptionCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.