com.atlassian.crowd.integration.directory.connector
Class SunONE

java.lang.Object
  extended by com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
      extended by com.atlassian.crowd.integration.directory.connector.RFC4519Directory
          extended by com.atlassian.crowd.integration.directory.connector.SunONE
All Implemented Interfaces:
LDAPDirectory, RemoteDirectory, AttributeAware, org.springframework.context.ApplicationContextAware

public class SunONE
extends RFC4519Directory

Sun ONE / Sun DSEE Directory connector.


Field Summary
 
Fields inherited from class com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
applicationContext, attributes, contextSource, DEFAULT_PAGE_SIZE, eventManager, ldapPropertiesMapper, ldapQueryTranslater, ldapTemplate, logger, nameConverter, searchDN
 
Constructor Summary
SunONE()
           
 
Method Summary
protected  org.springframework.ldap.core.LdapTemplate createChangeListenerTemplate()
           
protected  java.lang.String encodePassword(java.lang.String unencodedPassword)
          Sun DSEE doesn't want passwords encoded before they're passed to the directory.
 java.lang.String getDescriptiveName()
          Returns a descriptive name for the type of directory.
protected  void getNewUserDirectorySpecificAttributes(User user, javax.naming.directory.Attributes attributes)
          Sun DSEE 6.2 in a default install requires the sn to be set before a user can be created.
static java.lang.String getStaticDirectoryType()
           
 
Methods inherited from class com.atlassian.crowd.integration.directory.connector.RFC4519Directory
addGroupToGroup, addUserToGroup, getCustomGroupAttributeMappers, getCustomUserAttributeMappers, isGroupDirectGroupMember, isUserDirectGroupMember, removeGroupFromGroup, removeUserFromGroup, searchGroupRelationshipsWithGroupTypeSpecified
 
Methods inherited from class com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
addDefaultSnToUserAttributes, addDefaultValueToUserAttributesForAttribute, addGroup, addUser, asLdapName, authenticate, findEntityByDN, findEntityByDN, findGroupByName, findGroupByNameAndType, findGroupWithAttributesByName, findUserByName, findUserWithAttributesByName, getAttribute, getAttributeAsBoolean, getAttributeAsLong, getAttributeNames, getAttributes, getBaseEnvironmentProperties, getContextSource, getDirectoryId, getEncoder, getGroupContextMapper, getInitialGroupMemberDN, getLdapPropertiesMapper, getNewGroupAttributes, getNewGroupDirectorySpecificAttributes, getNewUserAttributes, getSearchDN, getStandardisedDN, getSubTreeSearchControl, getUserContextMapper, hasAttribute, pageSearchResults, removeGroup, removeGroupAttributes, removeUser, removeUserAttributes, renameGroup, renameUser, searchEntities, searchEntitiesWithRequestControls, searchGroupObjects, searchGroupObjectsOfSpecifiedGroupType, searchGroupRelationships, searchGroups, searchUserObjects, searchUsers, setApplicationContext, setAttributes, setDirectoryId, setEventManager, setLdapQueryTranslater, storeGroupAttributes, storeUserAttributes, supportsNestedGroups, testConnection, updateGroup, updateUser, updateUserCredential
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunONE

public SunONE()
Method Detail

getStaticDirectoryType

public static java.lang.String getStaticDirectoryType()

getDescriptiveName

public java.lang.String getDescriptiveName()
Description copied from interface: RemoteDirectory
Returns a descriptive name for the type of directory.

Returns:
descriptive name.

encodePassword

protected java.lang.String encodePassword(java.lang.String unencodedPassword)
Sun DSEE doesn't want passwords encoded before they're passed to the directory.

Specified by:
encodePassword in class SpringLDAPConnector
Parameters:
unencodedPassword -
Returns:

getNewUserDirectorySpecificAttributes

protected void getNewUserDirectorySpecificAttributes(User user,
                                                     javax.naming.directory.Attributes attributes)
Sun DSEE 6.2 in a default install requires the sn to be set before a user can be created.

Overrides:
getNewUserDirectorySpecificAttributes in class SpringLDAPConnector
Parameters:
user -
attributes -

createChangeListenerTemplate

protected org.springframework.ldap.core.LdapTemplate createChangeListenerTemplate()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.