public String getIdentityProvider ( ) { if ( isFacebookUser ( ) ) { return "facebook" ; } else if ( isGooglePlusUser ( ) ) { return "google" ; } else if ( isGitHubUser ( ) ) { return "github" ; } else if ( isTwitterUser ( ) ) { return "twitter" ; } else if ( isLinkedInUser ( ) ) { return "linkedin" ; } else if ( isMicrosoftUser ( ) ) { return "microsoft" ; } else if ( isLDAPUser ( ) ) { return "ldap" ; } else if ( isSAMLUser ( ) ) { return "saml" ; } else { return "generic" ; } }
Returns the name of the identity provider .