Deprecated API


Contents
Deprecated Interfaces
com.atlassian.crowd.directory.ldap.name.Encoder
          No longer used by GenericConverter. 
 

Deprecated Classes
com.atlassian.crowd.integration.soap.SOAPRole
            
 

Deprecated Fields
com.atlassian.crowd.directory.DirectoryMembershipsIterable.GROUPS_TO_NAMES
          use Groups.NAME_FUNCTION instead. 
com.atlassian.crowd.dao.token.TokenDAOMemory.IDENTIFIER_HASH_CAHE
           
com.atlassian.crowd.manager.login.util.ForgottenLoginMailer.PASSWORD_MACRO
            
 

Deprecated Methods
com.atlassian.crowd.service.soap.client.SecurityServerClient.addPrincipalToRole(String, String)
            
com.atlassian.crowd.service.soap.server.SecurityServer.addRole(AuthenticatedToken, SOAPRole)
            
com.atlassian.crowd.service.soap.client.SecurityServerClient.addRole(SOAPRole)
            
com.atlassian.crowd.manager.authentication.TokenAuthenticationManagerImpl.authenticateUser(UserAuthenticationContext)
           
com.atlassian.crowd.manager.authentication.TokenAuthenticationManager.authenticateUser(UserAuthenticationContext)
          This method exists to maintain the API for old clients. It creates a token with the default lifetime. 
com.atlassian.crowd.service.soap.client.SecurityServerClient.findAllRoleNames()
            
com.atlassian.crowd.service.soap.client.SecurityServerClient.findAllRoles()
            
com.atlassian.crowd.service.soap.server.SecurityServer.findRoleByName(AuthenticatedToken, String)
            
com.atlassian.crowd.service.soap.client.SecurityServerClient.findRoleByName(String)
            
com.atlassian.crowd.service.soap.client.SecurityServerClient.findRoleMemberships(String)
            
com.atlassian.crowd.service.GroupManager.getAllGroupNames()
          Since 1.4. 
com.atlassian.crowd.service.UserManager.getAllUserNames()
          Since 1.4. 
com.atlassian.crowd.manager.property.PropertyManager.getCacheTime()
          since 1.0.2 All caching configuration has moved to the crowd-ehcache.xml 
com.atlassian.crowd.service.soap.client.SecurityServerClient.getCacheTime()
          This method is now implemented by the crowd-ehcache.xml configuration file. 
com.atlassian.crowd.service.soap.server.SecurityServerGeneric.getCacheTime(AuthenticatedToken)
          since 1.0.2 All caching configuration has moved to the crowd-ehcache.xml 
com.atlassian.crowd.service.soap.server.SecurityServer.getCacheTime(AuthenticatedToken)
          This method is now implemented by the crowd-ehcache.xml configuration file. 
com.atlassian.crowd.integration.rest.entity.UserEntity.getDirectoryId()
          this method has never returned the directoryId and its existence violates the directory encapsulation. It will be removed in future versions. 
com.atlassian.crowd.service.soap.server.SecurityServer.getDomain(AuthenticatedToken)
          This method has been superceded by SecurityServer.getCookieInfo(com.atlassian.crowd.integration.authentication.AuthenticatedToken) 
com.atlassian.crowd.model.directory.DirectoryImpl.getImplementation()
          Use a DirectoryInstanceLoader. 
com.atlassian.crowd.service.GroupMembershipManager.getMemberships(String)
          Since 1.4 
com.atlassian.crowd.model.directory.DirectoryImpl.getRawImplementation()
          Use a DirectoryInstanceLoader. 
com.atlassian.crowd.service.UserService.getRemoteUsername()
          use UserService.getAuthenticatedUsername(javax.servlet.http.HttpServletRequest) 
com.atlassian.crowd.directory.ldap.name.SearchDN.getRole()
            
com.atlassian.crowd.directory.ldap.LDAPPropertiesMapper.getRoleDescriptionAttribute()
           
com.atlassian.crowd.directory.ldap.LDAPPropertiesMapper.getRoleFilter()
           
com.atlassian.crowd.directory.ldap.LDAPPropertiesMapper.getRoleMemberAttribute()
           
com.atlassian.crowd.directory.ldap.LDAPPropertiesMapper.getRoleNameAttribute()
           
com.atlassian.crowd.directory.ldap.LDAPPropertiesMapper.getRoleObjectClass()
           
com.atlassian.crowd.manager.property.PropertyManager.getSMTPTemplate()
          As of release 2.1, use PropertyManager.getProperty(String) 
com.atlassian.crowd.manager.property.PropertyManagerGeneric.getSMTPTemplate()
           
com.atlassian.crowd.manager.property.PropertyManager.getTokenSeed()
          since 2.6.2 No longer used. Seeds are now random. 
com.atlassian.crowd.service.soap.client.SecurityServerClient.isRoleMember(String, String)
            
com.atlassian.crowd.directory.RemoteDirectory.isRolesDisabled()
            
com.atlassian.crowd.model.NameComparator.of(Class)
          use a NameComparator.normaliserOf(Class) instead to reduce the number of transformations 
com.atlassian.crowd.service.soap.client.SecurityServerClient.removePrincipalFromRole(String, String)
            
com.atlassian.crowd.service.soap.client.SecurityServerClient.removeRole(String)
            
com.atlassian.crowd.manager.directory.DirectoryManager.resetPassword(long, String)
          since 2.1 
com.atlassian.crowd.manager.application.ApplicationService.resetUserCredential(Application, String)
          since 2.1 
com.atlassian.crowd.search.EntityDescriptor.role()
            
com.atlassian.crowd.service.soap.client.SecurityServerClient.searchRoles(SearchRestriction[])
            
com.atlassian.crowd.manager.application.ApplicationService.searchUsersAllowingDuplicateNames(Application, EntityQuery)
          this method violates the directory encapsulation of ApplicationService and will be removed in the future. Consumers of this method should move to a different service. 
com.atlassian.crowd.embedded.api.CrowdService.searchUsersAllowingDuplicateNames(Query)
          this method violates the directory encapsulation of CrowdService and will be removed in the future. Consumers of this method should move to a different service. 
com.atlassian.crowd.manager.property.PropertyManager.setCacheTime(long)
          since 1.0.2 All caching configuration has moved to the crowd-ehcache.xml 
com.atlassian.crowd.manager.property.PropertyManager.setSMTPTemplate(String)
          As of release 2.1, use PropertyManager.setProperty(String, String) 
com.atlassian.crowd.manager.property.PropertyManagerGeneric.setSMTPTemplate(String)
           
com.atlassian.crowd.manager.property.PropertyManager.setTokenSeed(String)
          since 2.6.2 No longer used. 
 

Deprecated Constructors
com.atlassian.crowd.embedded.api.PasswordCredential()
          since 1.3.2, please use any other PasswordCredential constructor, this constructor should only be used by hibernate. If this constructor is used, please be aware that you must set PasswordCredential.setEncryptedCredential(boolean) 
com.atlassian.crowd.integration.authentication.PasswordCredential()
          since 1.3.2, please use any other PasswordCredential constructor, this constructor should only be used by hibernate. If this constructor is used, please be aware that you must set PasswordCredential.setEncryptedCredential(boolean) 
 

Deprecated Enum Constants
com.atlassian.crowd.model.group.GroupType.LEGACY_ROLE
           
 



Copyright © 2013 Atlassian. All Rights Reserved.