com.atlassian.crowd.manager.application
Class CrowdApplicationPasswordManagerGeneric

java.lang.Object
  extended by com.atlassian.crowd.manager.application.CrowdApplicationPasswordManagerGeneric
All Implemented Interfaces:
CrowdApplicationPasswordManager

public class CrowdApplicationPasswordManagerGeneric
extends java.lang.Object
implements CrowdApplicationPasswordManager


Constructor Summary
CrowdApplicationPasswordManagerGeneric()
           
 
Method Summary
 void resetCrowdPasswordIfRequired()
          Resets both the Crowd application's password in the database and application.password in crowd.properties.
 void setApplicationManager(ApplicationManager applicationManager)
           
 void setApplicationService(ApplicationService applicationService)
           
 void setClientProperties(ClientProperties clientProperties)
           
 void setI18nHelper(I18nHelper i18nHelper)
           
 void setPasswordHelper(PasswordHelper passwordHelper)
           
 void setPropertyUtils(PropertyUtils propertyUtils)
           
 void setResourceLocator(ResourceLocator resourceLocator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdApplicationPasswordManagerGeneric

public CrowdApplicationPasswordManagerGeneric()
Method Detail

resetCrowdPasswordIfRequired

public void resetCrowdPasswordIfRequired()
                                  throws java.rmi.RemoteException,
                                         ObjectNotFoundException,
                                         InvalidCredentialException,
                                         ApplicationManagerException
Description copied from interface: CrowdApplicationPasswordManager
Resets both the Crowd application's password in the database and application.password in crowd.properties.

Specified by:
resetCrowdPasswordIfRequired in interface CrowdApplicationPasswordManager
Throws:
java.rmi.RemoteException - some error trying to authenticate Crowd with itself.
ObjectNotFoundException - Crowd application does not exist in the database.
InvalidCredentialException - new randomly generated credentials are not valid.
ApplicationManagerException - error updating credentials.

setApplicationManager

public void setApplicationManager(ApplicationManager applicationManager)

setPasswordHelper

public void setPasswordHelper(PasswordHelper passwordHelper)

setPropertyUtils

public void setPropertyUtils(PropertyUtils propertyUtils)

setI18nHelper

public void setI18nHelper(I18nHelper i18nHelper)

setResourceLocator

public void setResourceLocator(ResourceLocator resourceLocator)

setApplicationService

public void setApplicationService(ApplicationService applicationService)

setClientProperties

public void setClientProperties(ClientProperties clientProperties)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.