Class EmailIdentifierProviderImpl
java.lang.Object
com.atlassian.crowd.sso.saml.impl.opensaml.action.email.EmailIdentifierProviderImpl
- All Implemented Interfaces:
EmailIdentifierProvider
-
Constructor Summary
ConstructorDescriptionEmailIdentifierProviderImpl
(EmailAddressValidator emailAddressValidator, DuplicateEmailChecker duplicateEmailChecker) -
Method Summary
Modifier and TypeMethodDescriptiongetValidEmail
(CrowdUserDetails crowdUserDetails, Application application)
-
Constructor Details
-
EmailIdentifierProviderImpl
public EmailIdentifierProviderImpl(EmailAddressValidator emailAddressValidator, DuplicateEmailChecker duplicateEmailChecker)
-
-
Method Details
-
getValidEmail
@Nullable public String getValidEmail(CrowdUserDetails crowdUserDetails, @Nullable Application application) - Specified by:
getValidEmail
in interfaceEmailIdentifierProvider
- Parameters:
crowdUserDetails
- details of Crowd userapplication
- application in context of which email address should be validated- Returns:
- valid email address of user
-