public AuthenticationMethodType getAuthenticationMethodTypeForIdentifier ( int id ) { for ( AuthenticationMethodType t : getAuthenticationMethodTypes ( ) ) if ( t . getUniqueIdentifier ( ) == id ) return t ; return null ; }
Gets the authentication method type for a given identifier .