org.jboss.picketlink.idm.internal.ldap
Class LDAPUser
java.lang.Object
org.jboss.picketlink.idm.internal.ldap.DirContextAdaptor
org.jboss.picketlink.idm.internal.ldap.LDAPUser
- All Implemented Interfaces:
- Context, DirContext, IdentityType, User
public class LDAPUser
- extends DirContextAdaptor
- implements User
LDAP Representation of an User
- Since:
- Aug 30, 2012
- Author:
- anil saldhana
| Fields inherited from interface org.jboss.picketlink.idm.model.User |
KEY_PREFIX |
| Fields inherited from interface javax.naming.Context |
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
| Methods inherited from class org.jboss.picketlink.idm.internal.ldap.DirContextAdaptor |
addToEnvironment, bind, bind, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getAttribute, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getAttributeValues, getCreationDate, getEnvironment, getExpirationDate, getKey, getNameInNamespace, getNameParser, getNameParser, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, isEnabled, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, rebind, rebind, removeAttribute, removeFromEnvironment, rename, rename, search, search, search, search, search, search, search, search, setAttribute, setAttribute, setLDAPChangeNotificationHandler, unbind, unbind |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userid
protected String userid
firstName
protected String firstName
lastName
protected String lastName
fullName
protected String fullName
email
protected String email
userDNSuffix
protected String userDNSuffix
LDAPUser
public LDAPUser()
setUserDNSuffix
public void setUserDNSuffix(String udn)
getDN
public String getDN()
setId
public void setId(String id)
getId
public String getId()
- Specified by:
getId in interface User
getFirstName
public String getFirstName()
- Specified by:
getFirstName in interface User
setFirstName
public void setFirstName(String firstName)
- Specified by:
setFirstName in interface User
getLastName
public String getLastName()
- Specified by:
getLastName in interface User
setLastName
public void setLastName(String lastName)
- Specified by:
setLastName in interface User
getFullName
public String getFullName()
- Specified by:
getFullName in interface User
setFullName
public void setFullName(String fullName)
getEmail
public String getEmail()
- Specified by:
getEmail in interface User
setEmail
public void setEmail(String email)
- Specified by:
setEmail in interface User
create
public static LDAPUser create(Attributes attributes,
String userDNSuffix)
Copyright © 2012. All Rights Reserved.