Interface EmailIdentifierProvider
- All Known Implementing Classes:
EmailIdentifierProviderImpl
public interface EmailIdentifierProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetValidEmail(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 userapplication- application in context of which email address should be validated- Returns:
- valid email address of user
- Throws:
InvalidEmailAddressFormatException- when email address format is invalidDuplicatedEmailAddressException- when email address is duplicated within provided application
-