Interface EmailIdentifierProvider

All Known Implementing Classes:
EmailIdentifierProviderImpl

public interface EmailIdentifierProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    getValidEmail(com.atlassian.crowd.integration.springsecurity.user.CrowdUserDetails crowdUserDetails, com.atlassian.crowd.model.application.Application application)
     
  • Method Details

    • getValidEmail

      @Nullable String getValidEmail(com.atlassian.crowd.integration.springsecurity.user.CrowdUserDetails crowdUserDetails, @Nullable com.atlassian.crowd.model.application.Application application)
      Parameters:
      crowdUserDetails - details of Crowd user
      application - application in context of which email address should be validated
      Returns:
      valid email address of user
      Throws:
      InvalidEmailAddressFormatException - when email address format is invalid
      DuplicatedEmailAddressException - when email address is duplicated within provided application