Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.task.identity
Class LDAPUserInfoImpl

    java.lang.Object
      org.jbpm.task.identity.LDAPUserInfoImpl

All Implemented Interfaces:
  UserInfo

    public class LDAPUserInfoImpl

extends Object
implements UserInfo

Field Summary
`static String` | `BIND_PWD`
`static String` | `BIND_USER`
`protected static String` | `DEFAULT_PROPERTIES_NAME`
`static String` | `EMAIL_ATTR_ID`
`static String` | `IS_ENTITY_ID_DN`
`static String` | `LANG_ATTR_ID`
`static String` | `MEMBER_ATTR_ID`
`static String` | `NAME_ATTR_ID`
`protected static String[]` | `requiredProperties`
`static String` | `ROLE_ATTR_ID`
`static String` | `ROLE_CTX`
`static String` | `ROLE_FILTER`
`static String` | `ROLE_MEMBERS_FILTER`
`static String` | `USER_ATTR_ID`
`static String` | `USER_CTX`
`static String` | `USER_FILTER`

Constructor Summary
`LDAPUserInfoImpl()`
`LDAPUserInfoImpl(Properties config)`

Method Summary
`protected InitialLdapContext` | `buildInitialLdapContext()`
`protected String` | `extractUserId(String userDN, OrganizationalEntity entity)`
`String` | `getDisplayName(OrganizationalEntity entity)`
`String` | `getEmailForEntity(OrganizationalEntity entity)`
`String` | `getLanguageForEntity(OrganizationalEntity entity)`
`Iterator<OrganizationalEntity>` | `getMembersForGroup(Group group)`
`boolean` | `hasEmail(Group group)`
`protected String` | `searchLdap(String context, String filter, String attrId, OrganizationalEntity entity)`
`protected void` | `validate()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### DEFAULT_PROPERTIES_NAME

    protected static final String DEFAULT_PROPERTIES_NAME

See Also:
  Constant Field Values

### BIND_USER

    public static final String BIND_USER

See Also:
  Constant Field Values

### BIND_PWD

    public static final String BIND_PWD

See Also:
  Constant Field Values

### USER_CTX

    public static final String USER_CTX

See Also:
  Constant Field Values

### ROLE_CTX

    public static final String ROLE_CTX

See Also:
  Constant Field Values

### USER_FILTER

    public static final String USER_FILTER

See Also:
  Constant Field Values

### ROLE_FILTER

    public static final String ROLE_FILTER

See Also:
  Constant Field Values

### ROLE_MEMBERS_FILTER

    public static final String ROLE_MEMBERS_FILTER

See Also:
  Constant Field Values

### EMAIL_ATTR_ID

    public static final String EMAIL_ATTR_ID

See Also:
  Constant Field Values

### NAME_ATTR_ID

    public static final String NAME_ATTR_ID

See Also:
  Constant Field Values

### LANG_ATTR_ID

    public static final String LANG_ATTR_ID

See Also:
  Constant Field Values

### MEMBER_ATTR_ID

    public static final String MEMBER_ATTR_ID

See Also:
  Constant Field Values

### USER_ATTR_ID

    public static final String USER_ATTR_ID

See Also:
  Constant Field Values

### ROLE_ATTR_ID

    public static final String ROLE_ATTR_ID

See Also:
  Constant Field Values

### IS_ENTITY_ID_DN

    public static final String IS_ENTITY_ID_DN

See Also:
  Constant Field Values

### requiredProperties

    protected static final String[] requiredProperties

Constructor Detail

### LDAPUserInfoImpl

    public LDAPUserInfoImpl()

### LDAPUserInfoImpl

    public LDAPUserInfoImpl(Properties config)

Method Detail

### getDisplayName

    public String getDisplayName(OrganizationalEntity entity)

  Specified by:
    `getDisplayName` in interface `UserInfo`

### getMembersForGroup

    public Iterator<OrganizationalEntity> getMembersForGroup(Group group)

  Specified by:
    `getMembersForGroup` in interface `UserInfo`

### hasEmail

    public boolean hasEmail(Group group)

  Specified by:
    `hasEmail` in interface `UserInfo`

### getEmailForEntity

    public String getEmailForEntity(OrganizationalEntity entity)

  Specified by:
    `getEmailForEntity` in interface `UserInfo`

### getLanguageForEntity

    public String getLanguageForEntity(OrganizationalEntity entity)

  Specified by:
    `getLanguageForEntity` in interface `UserInfo`

### validate

    protected void validate()

### buildInitialLdapContext

    protected InitialLdapContext buildInitialLdapContext()
                                                  throws NamingException

  Throws:
    `NamingException`

### searchLdap

    protected String searchLdap(String context,
                                String filter,
                                String attrId,
                                OrganizationalEntity entity)

### extractUserId

    protected String extractUserId(String userDN,
                                   OrganizationalEntity entity)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.